generic-poky/scripts
Richard Purdie dab511c36d gcc: Add support for nativesdk-gcc
Being able to build a nativesdk gcc is useful, particularly in cases
where the host compiler may be of an incompatible version (or a 32
bit compiler is needed).

Sadly, building nativesdk-gcc is not straight forward. We install
nativesdk-gcc into a relocatable location and this means that its
library locations can change. "Normal" sysroot support doesn't help
in this case since the values of paths like "libdir" change, not just
base root directory of the system.

In order to handle this we do two things:

a) Add %r into spec file markup which can be used for injected paths
   such as SYSTEMLIBS_DIR (see gcc_multilib_setup()).
b) Add other paths which need relocation into a .gccrelocprefix section
   which the relocation code will notice and adjust automatically.

This patch adds tweaks to the relocation script to handle the
new section too.

(From OE-Core rev: cd3d874fced2ee4c950d9964d30c0588fd8772e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-31 10:32:37 +01:00
..
contrib python-io: Add runtime dependency on contextlib 2015-07-16 15:09:16 +01:00
lib devtool: also load plugins from BBPATH 2015-07-27 23:29:13 +01:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
postinst-intercepts fontcache: allow to pass different fontconfig cache dir 2015-04-21 07:20:25 +01:00
pybootchartgui scripts: use '/usr/bin/env' in shebangs with python 2014-11-12 15:38:29 +00:00
tiny scripts: Add ksize.py and dirsize.py 2013-10-29 10:41:39 +00:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake-prserv-tool bitbake-prserv-tool: make help text show .conf suffix 2014-02-17 15:37:17 +00:00
bitbake-whatchanged scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
buildhistory-collect-srcrevs buildhistory-collect-srcrevs: match new buildhistory-diff command line parsing 2013-08-16 11:44:17 +01:00
buildhistory-diff scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
cleanup-workdir cleanup-workdir: Fix crosssdk reference after addition of PN 2014-05-05 09:05:42 +01:00
combo-layer combo-layer: implement --hard-reset option 2015-07-16 15:09:17 +01:00
combo-layer-hook-default.sh combo-layer-hook-default.sh: handle patches without Signed-off-by 2015-03-20 11:21:25 +00:00
combo-layer.conf.example combo-layer: partial import for '--history init' 2015-03-20 11:21:24 +00:00
cp-noerror scripts/cp-noerror: Avoid a race 2014-02-02 11:23:45 +00:00
create-pull-request Revert "create-pull-request: Fix error on 2.0 versions of git" 2015-07-21 23:53:45 +01:00
create-recipe scripts/create-recipe: minor fixes 2014-09-03 11:09:03 +01:00
crosstap crosstap: handle hyphenated x86_64 target arch 2013-02-05 15:22:45 +00:00
devtool devtool: also load plugins from BBPATH 2015-07-27 23:29:13 +01:00
gen-lockedsig-cache gen-lockedsig-cache: Allow cross-filesystem copies. 2015-02-24 17:41:42 +00:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
hob scripts/hob: enable additional arguments 2013-05-14 14:57:27 +03:00
lnr scripts: add lnr (link relative) 2014-03-07 14:58:45 +00:00
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
oe-buildenv-internal scripts/oe-buildenv-internal: add means of skipping SDK check during setup 2015-02-24 17:41:43 +00:00
oe-find-native-sysroot oe-find-native-sysroot: minor optimization 2013-08-03 10:33:12 +01:00
oe-git-proxy oe-git-proxy: Redirect error messages to STDERR 2015-03-31 22:23:15 +01:00
oe-pkgdata-util lib/oe/package_manager: support exclusion from complementary glob process by regex 2015-02-17 14:20:45 +00:00
oe-selftest oe-selftest: add scripts/lib and bitbake/lib to path 2015-07-27 23:29:14 +01:00
oe-setup-builddir oe-init-build-env: fix for build dirs that have spaces in their path 2015-04-13 22:33:24 +01:00
oe-setup-rpmrepo oe-setup-rpmrepo: add native sysroot so nativepython can be found by env 2013-08-30 18:06:31 +01:00
oe-trim-schemas scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oepydevshell-internal.py devshell: Add interactive python shell 2014-05-28 08:27:00 +01:00
opkg-query-helper.py classes/image: write image manifest 2013-11-26 23:01:32 +00:00
pythondeps recipetool: add python dependency scanning support 2015-01-23 11:36:28 +00:00
recipetool recipetool: parse global args early 2015-07-27 23:29:13 +01:00
relocate_sdk.py gcc: Add support for nativesdk-gcc 2015-07-31 10:32:37 +01:00
rootfs_rpm-extract-postinst.awk meta/classes/rootfs_rpm.bbclass: re implement base on rpm5 2010-07-24 00:46:57 +01:00
rpm2cpio.sh rpm2cpio.sh: make compression tests case-insensitive 2012-01-03 12:14:39 +00:00
runqemu runqemu: fix MACHINE being detected as qemuarm for qemuarm64 kernel image 2015-06-23 11:47:14 +01:00
runqemu-addptable2image scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
runqemu-export-rootfs runqemu-export-rootfs: Fix missing # in comment 2014-02-20 12:04:44 +00:00
runqemu-extract-sdk runqemu-extract-sdk: normalize paths to improve output 2014-07-03 17:41:16 +01:00
runqemu-gen-tapdevs runqemu: Replace use of ifconfig with ip 2013-05-16 00:09:47 +03:00
runqemu-ifdown runqemu-ifdown: clean up the remaining iptables rules 2013-08-30 16:23:47 +01:00
runqemu-ifup runqemu-ifup: when tunctl can't be found, say what package builds it 2013-08-26 11:47:17 +01:00
runqemu-internal runqemu-internal: add temporary disk interface to qemuarm64 2015-07-16 15:09:25 +01:00
runqemu.README scripts/runqemu.README: Clean this up to accurately reflect what the runqemu command now does 2011-04-21 12:56:13 +01:00
send-error-report scripts/send-error-report: Rework script to support new features 2015-03-10 10:47:38 +00:00
send-pull-request send-pull-request: add extra CC argument 2013-02-06 09:37:22 +00:00
sstate-cache-management.sh sstate-cache-management: Minor cleanup of help text 2014-04-29 17:20:11 +01:00
sstate-diff-machines.sh sstate-diff-machines.sh: Return non-zero return code when there was some failure detected 2014-06-29 09:04:22 +01:00
sstate-sysroot-cruft.sh sstate-sysroot-cruft.sh: Improve to use it from CI 2014-08-11 12:30:51 +01:00
swabber-strace-attach scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
sysroot-relativelinks.py image/populate_sdk: Ensure symlinks in target sysroot are relative 2013-09-11 11:05:05 +01:00
test-dependencies.sh test-dependencies.sh: strip only .bb suffix 2015-03-16 17:41:52 +00:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
test-remote-image scripts/test-remote-image: use the scriptpath module 2014-07-19 00:09:01 +01:00
wic wic: Code cleanup: long lines, identation and whitespaces 2015-07-02 23:08:38 +01:00
wipe-sysroot wipe-sysroot: explain what is being deleted, and check for arguments 2014-01-02 13:08:40 +00:00
yocto-bsp yocto-bsp: add basic git connectivity check 2013-01-16 12:08:01 +00:00
yocto-kernel yocto-kernel: add support for destroying recipe-space kernel features 2013-03-17 23:10:28 +00:00
yocto-layer yocto-layer: add optional layer priority param 2013-01-20 13:05:39 +00:00

README

This directory contains Various useful scripts for working with OE builds