From 839478c67fc98346d1ca19fe9c2dcaea595ef6d7 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 19 May 2017 17:47:25 -0500 Subject: Newer Yocto arm-mlinux-linux-gnueabi* compiler suite no longer have a staging directory --- recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb b/recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb index 234d6c9..7d93952 100644 --- a/recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb +++ b/recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb @@ -38,8 +38,13 @@ do_configure() { } do_compile () { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS - oe_runmake + unset CFLAGS LDFLAGS CXXFLAGS CPPFLAGS + # For Newer Yocto/Bitbake, CC does not + # include the staging directory + # by default + CC="${CC} --sysroot=${STAGING_DIR_HOST}" + LD="${LD} --sysroot=${STAGING_DIR_HOST}" + oe_runmake CC="${CC}" LD="${LD}" } do_patch () { -- cgit v1.2.3