diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-17 12:19:28 -0200 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-18 00:59:52 -0200 |
| commit | 0902139c45841b8a15e538d412b1b74ddbe39fdb (patch) | |
| tree | 149242cf3d2cb5c17ac8e55ea41eb0126894671c | |
| parent | 69ddd6d2a5e7fe763239eebf71fbbbd723ef0b8d (diff) | |
| download | meta-freescale-0902139c45841b8a15e538d412b1b74ddbe39fdb.tar.gz | |
imx-test: Fix build failure due lacking of module build system
The 'module-base' class provides the infrastructure to ensure modules
are buildable. This fixes the build failures caused by lacking of
'scripts/basic/fixdep' application.
Change-Id: I996d169acdbec900042a21c0153799bbc57d09ee
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc index c7f916c28..8634cb97c 100644 --- a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc | |||
| @@ -20,6 +20,8 @@ PLATFORM_mx51 = "IMX51" | |||
| 20 | SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ | 20 | SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ |
| 21 | file://clocks.sh" | 21 | file://clocks.sh" |
| 22 | 22 | ||
| 23 | inherit module-base | ||
| 24 | |||
| 23 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 25 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 24 | 26 | ||
| 25 | INCLUDE_DIR="-I${STAGING_INCDIR} \ | 27 | INCLUDE_DIR="-I${STAGING_INCDIR} \ |
| @@ -30,6 +32,11 @@ INCLUDE_DIR="-I${STAGING_INCDIR} \ | |||
| 30 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ | 32 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ |
| 31 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" | 33 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" |
| 32 | 34 | ||
| 35 | # Required so the fixdep binary is generated | ||
| 36 | addtask make_scripts after do_patch before do_compile | ||
| 37 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
| 38 | do_make_scripts[deptask] = "do_populate_sysroot" | ||
| 39 | |||
| 33 | do_compile() { | 40 | do_compile() { |
| 34 | LDFLAGS="" make PLATFORM=${PLATFORM} LINUXPATH=${STAGING_KERNEL_DIR} \ | 41 | LDFLAGS="" make PLATFORM=${PLATFORM} LINUXPATH=${STAGING_KERNEL_DIR} \ |
| 35 | KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1 \ | 42 | KBUILD_OUTPUT=${STAGING_KERNEL_DIR} CROSS_COMPILE=${TARGET_PREFIX} V=1 \ |
