diff options
author | John Klug <john.klug@multitech.com> | 2017-05-19 17:47:25 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-05-23 18:25:17 -0500 |
commit | 839478c67fc98346d1ca19fe9c2dcaea595ef6d7 (patch) | |
tree | 41b23015bd46a85f9d0d1f517dc6eb9c820338cb | |
parent | 7610babb4ec030a3a2b4cdc2efad51fbde465163 (diff) | |
download | meta-multitech-839478c67fc98346d1ca19fe9c2dcaea595ef6d7.tar.gz meta-multitech-839478c67fc98346d1ca19fe9c2dcaea595ef6d7.tar.bz2 meta-multitech-839478c67fc98346d1ca19fe9c2dcaea595ef6d7.zip |
Newer Yocto arm-mlinux-linux-gnueabi* compiler suite no longer have a staging directory
-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 () { |