summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-test')
-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 \