generic-poky/scripts
Brian A. Lloyd ffff37f8f9 yocto-bsp: qualify user files with machine name
The bblayer abstraction makes it where multiple layers can be
configured and used at the same time.  Some layers make changes to
support a specific machine, and should not have any affect when other
machines are in use.

For linux-yocto, all bsps are created with a user-config.cfg and
user-config.cfg and user-patches.scc.  This means that those files
will be pulled from the first location found, which might correspond
to files customized for a different machine.

Instead of using the names user-config.cfg and user-patches.scc, I
propose a machine specific name be used such as
{{=machine}}user-patches.scc and {{=machine}}user-config.cfg.  This
would necessitate that all references changed to these new names,
which would affect the yocto-bsp and yocto-kernel scripts.

With this change, it would be possible to have multiple machine BSPs
searched at the same time and to select which to build against by
using a command like MACHINE=qmeux86 bitbake core-image-sato to
override the default.

Note many of the standard BSPs do not seem to suffer this problem as
they do not use the common files user-config.cfg and user-patches.scc
that the yocto-* scripts depend upon.

Additions by Tom Zanussi:
 - renamed user-config.cfg to {{=machine}}-user-config.cfg everywhere
 - renamed user-patches.scc to {{=machine}}-user-patches.scc everywhere
 - added the user-config/patches SRC_URI items to the qemu -rt kernel recipes
 - fixed conflicts due to the new open_user_file() helper function
 - updated user filename conflicts caused by directory renaming
 - updated custom kernel files to match

Fixes [YOCTO #3731]

(From meta-yocto rev: c20bef60aa8d52971fb061d4b8d473ad19c03180)

Signed-off-by: Brian A. Lloyd <brian.lloyd@familyhonor.net>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-25 14:12:36 +00:00
..
contrib bb-matrix: Fix min and max calculations 2013-01-21 10:22:08 +00:00
jhbuild Convert to use direct access to the data store (instead of bb.data.*Var*()) 2011-11-10 11:51:19 +00:00
lib/bsp yocto-bsp: qualify user files with machine name 2013-01-25 14:12:36 +00:00
native-intercept native.bbclass: Add a simple chown intercept command 2011-06-23 21:08:01 +01:00
pybootchartgui scripts/pybootchart: Allow minimum task length to be configured from the commandline 2012-11-20 15:31:48 +00:00
qemuimage-tests Update sanity tests to use smart instead of zypper 2012-12-17 17:24:51 +00:00
README Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
bitbake bitbake: compile tar-replacement firstly 2012-08-29 16:01:39 -07:00
bitbake-prserv-tool prserv: add LOCALCOUNT to AUTOINCs migration feature 2013-01-22 16:01:32 +00:00
buildhistory-diff buildhistory-diff: prepend to sys.path 2013-01-09 15:05:25 +00:00
cleanup-workdir scripts/cleanup-workdir: Adpat to new workdir layout 2012-11-24 15:12:27 +00:00
combo-layer scipts/combo-layer: Fix check_rev_branch() for cases where the revision is on more than one branch 2012-10-18 12:13:42 +01:00
combo-layer-hook-default.sh scripts/combo-layer: fix still overzealous regex in default hook script 2011-09-21 13:42:49 +01:00
combo-layer.conf.example scripts/combo-layer: add branch option to example config 2012-02-21 17:00:46 +00:00
cp-noerror scripts/cp-noerror: Try and use hardlinks if possible 2012-10-18 12:13:46 +01:00
create-lsb-image create-lsb-iamge:Fix bugs 2011-05-04 00:54:39 +01:00
create-pull-request create-pull-request: detect trailing white space 2012-12-13 15:18:44 +00:00
create-recipe Added ability to parse python sources to create-recipe 2013-01-07 11:09:35 +00:00
crosstap crosstap: new script 2012-09-02 05:52:13 -07:00
gen-site-config siteconfig: generate configuration data caches for autoconf 2010-09-03 10:50:02 +01:00
help2man Remove help2man dependency 2011-10-04 13:46:19 +01:00
hob scripts/hob: disable sanity checks when launching 2012-04-23 23:04:43 +01:00
multilib_header_wrapper.h multilib_header.bbclass: Add oe_multilib_header wrapper 2011-07-27 15:45:47 +01:00
oe-buildenv-internal oe-buildenv-internal: Add BB_NO_NETWORK to BB_ENV_EXTRAWHITE 2012-10-07 13:15:00 +01:00
oe-find-native-sysroot oe-find-native-sysroot: show bitbake errors to user 2012-09-28 11:07:39 +01:00
oe-git-proxy-command scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-git-proxy-socks-command scripts/oe-git-proxy-socks-command: Add fallback to use nc 2012-03-02 12:25:19 +00:00
oe-git-proxy-socks.c scripts/oe-setup-builddir: Fix up OE-Core/Poky mismatch for now (and fix permissions) 2011-04-21 19:19:33 +01:00
oe-pkgdata-util scripts/oe-pkgdata-util: exclude unpackaged in glob output 2012-07-31 12:21:30 +01:00
oe-setup-builddir Various typoes fixed, all comments or output strings. 2012-03-26 12:13:05 +01:00
oe-setup-rpmrepo scripts/oe-setup-rpmrepo: use setup_tmpdir from runqemu 2011-09-28 21:41:44 +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
opkg-query-helper.py Rework installation of dev, dbg, doc, and locale packages 2012-07-29 10:16:14 +01:00
qemuimage-testlib scripts/qemuimage-testlib: fix typos 2012-03-21 15:33:04 +00:00
relocate_sdk.py relocate_sdk.py: new interpreter string was not '\0' terminated 2013-01-07 13:50:40 +00: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 scripts: add support for booting an ISO image 2013-01-16 11:57:33 +00: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: allow multiple unfs instances to run simultaneously 2012-10-04 14:10:56 +01:00
runqemu-extract-sdk runqemu-export-rootfs and friends: don't put pseudo db in target fs 2012-08-29 16:02:10 -07:00
runqemu-gen-tapdevs runqemu: work with tap device names that end with a colon 2012-09-24 11:30:36 +01:00
runqemu-ifdown Further cleanup of various poky references 2011-04-21 12:56:16 +01:00
runqemu-ifup runqemu-ifup: enable arp proxying 2012-06-08 11:43:20 +01:00
runqemu-internal runqemu scripts: add support for booting an ISO image 2013-01-16 11:57:33 +00: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-pull-request send-pull-request: Make -a really imply -c 2012-08-02 15:28:38 +01:00
sstate-cache-management.sh scripts/sstate-cache-management.sh: Fix stamp handling after recent layout change 2012-11-24 15:12:27 +00:00
sstate-diff-machines.sh scripts/sstate-diff-machines.sh: add simple script to compare sstate checksums between MACHINEs 2013-01-07 12:06:27 +00:00
sstate-sysroot-cruft.sh scripts/sstate-sysroot-cruft.sh: add simple script to find files in sysroots not tracked by sstate 2013-01-07 12:06:27 +00:00
swabber-strace-attach scripts: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
test-reexec test-reexec: Add script to address issues when task re-execution 2012-05-18 15:25:11 +01:00
yocto-bsp yocto-bsp: add basic git connectivity check 2013-01-16 12:08:01 +00:00
yocto-kernel yocto-kernel: new script 2012-03-22 19:21:15 +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