aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-test/imx-test.inc')
-rw-r--r--recipes-bsp/imx-test/imx-test.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/imx-test/imx-test.inc b/recipes-bsp/imx-test/imx-test.inc
index 10dbb4d..f0b26a1 100644
--- a/recipes-bsp/imx-test/imx-test.inc
+++ b/recipes-bsp/imx-test/imx-test.inc
@@ -40,7 +40,6 @@ do_make_scripts[depends] += "virtual/kernel:do_install"
do_compile() {
CFLAGS="${TOOLCHAIN_OPTIONS}"
- LDFLAGS="${TOOLCHAIN_OPTIONS} -L${STAGING_LIBDIR}"
oe_runmake V=1 VERBOSE='' \
CROSS_COMPILE=${TARGET_PREFIX} \
INC="-I${STAGING_INCDIR} \
@@ -52,6 +51,7 @@ do_compile() {
-I${STAGING_KERNEL_DIR}/arch/arm/include \
-I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
-I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \
+ CC="${CC} -L${STAGING_LIBDIR} ${LDFLAGS}" \
LINUXPATH=${STAGING_KERNEL_DIR} \
KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \
PLATFORM=${PLATFORM}