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 | c7b0f1f76353dcb8c0b75fbc848801204da0b5c5 (patch) | |
tree | 7d55dc46704239d395e8b08ad1bee25fe8129602 /recipes-bsp/imx-test | |
parent | 7629b77c63ad9e1ef0c928451626eaac4173d054 (diff) | |
download | meta-fsl-arm-c7b0f1f76353dcb8c0b75fbc848801204da0b5c5.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>
Diffstat (limited to 'recipes-bsp/imx-test')
-rw-r--r-- | recipes-bsp/imx-test/imx-test.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc index c7f916c..8634cb9 100644 --- a/recipes-bsp/imx-test/imx-test.inc +++ b/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 \ |