summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-01-17 12:19:28 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-01-18 00:59:52 -0200
commitc7b0f1f76353dcb8c0b75fbc848801204da0b5c5 (patch)
tree7d55dc46704239d395e8b08ad1bee25fe8129602 /recipes-bsp/imx-test/imx-test.inc
parent7629b77c63ad9e1ef0c928451626eaac4173d054 (diff)
downloadmeta-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/imx-test.inc')
-rw-r--r--recipes-bsp/imx-test/imx-test.inc7
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"
20SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \ 20SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz \
21 file://clocks.sh" 21 file://clocks.sh"
22 22
23inherit module-base
24
23INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 25INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
24 26
25INCLUDE_DIR="-I${STAGING_INCDIR} \ 27INCLUDE_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
36addtask make_scripts after do_patch before do_compile
37do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
38do_make_scripts[deptask] = "do_populate_sysroot"
39
33do_compile() { 40do_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 \