diff options
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 \ |