aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-08-22 14:11:39 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-23 21:02:02 -0300
commit2d34466354fb1083104024766438a867a5c75fde (patch)
treec2e7b5bdf03b133753514bdec3c6c9c495e5a5b1
parentf8f2a543cab9a449b68e6b4fba2cb152b740f40d (diff)
downloadmeta-fsl-arm-2d34466354fb1083104024766438a867a5c75fde.tar.gz
meta-fsl-arm-2d34466354fb1083104024766438a867a5c75fde.tar.bz2
meta-fsl-arm-2d34466354fb1083104024766438a867a5c75fde.zip
imx-test: obey LDFLAGS settings
The gcc-cross default linker hash has been changed in OE-Core:fa436aeb, due that the broken recipes (which were not respecting the set LDFLAGS settings) are now exposed. This fixes the error setting the need Make flags so the build system obey the LDFLAGS setting. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-bsp/imx-test/imx-test.inc2
-rw-r--r--recipes-bsp/imx-test/imx-test_5.4.1.bb2
2 files changed, 3 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}
diff --git a/recipes-bsp/imx-test/imx-test_5.4.1.bb b/recipes-bsp/imx-test/imx-test_5.4.1.bb
index 04aad14..e33cc8d 100644
--- a/recipes-bsp/imx-test/imx-test_5.4.1.bb
+++ b/recipes-bsp/imx-test/imx-test_5.4.1.bb
@@ -5,4 +5,6 @@ include imx-test.inc
SRC_URI[md5sum] = "fa1a5cdcfbdd6a3fed0ab4a5fd1f97bc"
SRC_URI[sha256sum] = "997ec10bdc6991e9687a2c2fa5816bb50b08d73bcfe4093f988a7cac4bf0b06a"
+PR = "r1"
+
COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)"