diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2017-09-20 01:17:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:25 +0100 |
commit | 59106e5dce83abfd3d5c58883df4cee028cea5e0 (patch) | |
tree | 376da55bb4c98fb75a17bb72067ecc479ccc58fe /scripts/contrib/build-perf-test-wrapper.sh | |
parent | 69e97240b372c6aaf0a9eab82bc1361a23db996d (diff) | |
download | poky-59106e5dce83abfd3d5c58883df4cee028cea5e0.tar.gz |
kernel.bbclass: build host programs with native sysroots
Allow to search header files and libs from native sysroots.
For example, an expanded BUILD_CFLAGS includes:
'-isystem/builddir/to/linux-yocto/recipe-sysroot-native/usr/include'
And an expanded BUILD_LDFLAGS includes:
'-L/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath-link,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib
-Wl,-rpath,/builddir/to/linux-yocto/recipe-sysroot-native/usr/lib'
(From OE-Core rev: 37f20f2f7bdc8b964736c09371cd8f2342e4d5cb)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/build-perf-test-wrapper.sh')
0 files changed, 0 insertions, 0 deletions