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:01 +0100 |
commit | 37f20f2f7bdc8b964736c09371cd8f2342e4d5cb (patch) | |
tree | fea19c12ce176b681628f395553917d9c98af318 /scripts/tiny | |
parent | 271f1a5f65b8685a1e3645026876251122ef3974 (diff) | |
download | openembedded-core-37f20f2f7bdc8b964736c09371cd8f2342e4d5cb.tar.gz openembedded-core-37f20f2f7bdc8b964736c09371cd8f2342e4d5cb.tar.bz2 openembedded-core-37f20f2f7bdc8b964736c09371cd8f2342e4d5cb.zip |
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'
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/tiny')
0 files changed, 0 insertions, 0 deletions