diff options
Diffstat (limited to 'recipes-kernel/rs9113')
-rw-r--r-- | recipes-kernel/rs9113/rs9113-from-src_1.5.0.bb | 9 |
1 files 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 () { |