Commit Graph

17 Commits

Author SHA1 Message Date
Christopher Larson
c1c42a14b1 package_qa_sourcery: fix fakeroot handling
This fixes a failure to execute bitbake-worker to execute this task.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-06-17 12:04:01 -07:00
Christopher Larson
62d08032c9 external_toolchain: add find_sysroot_files convenience function
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-05-07 11:48:37 -07:00
Christopher Larson
5b8c219f59 common-license: handle LICENSE_<pkg>
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:13 -07:00
Christopher Larson
1c1ace709e common-license: add GPL-3.0-with-GCC-exception
JIRA: SB-5005

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-30 09:02:08 -07:00
Christopher Larson
a51511d6ef external-toolchain.bbclass: skip build-deps test
Missing build deps don't matter when we don't build anything.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:30:02 -07:00
Christopher Larson
21d8241639 external-toolchain.bbclass: set S=WORKDIR
This avoids the build warnings due to a nonexistent ${S}.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-28 13:29:38 -07:00
Christopher Larson
ac653d0390 package_qa_sourcery: add host user ownership test
Check for files outside of /home which are owned by the user running bitbake.

Add `package_qa_sourcery` to `PACKAGE_CLASSES`, and `${SOURCERY_QA}` to your
`WARN_QA` or `ERROR_QA` to use.

This will be submitted to oe-core's package_qa.

JIRA: SB-4185

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-24 18:28:13 -07:00
Christopher Larson
03b400b3c4 external-toolchain: correct ownership of our files
Since we're running cp -p to preserve other aspects, we need to manually
correct the ownership to what we expect (root:root) rather than the current
ownership.

JIRA: SB-4185

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-24 18:28:00 -07:00
Christopher Larson
b56cf21d51 libgcc,gcc-runtime: align TARGET_SYS/EXTERNAL_TARGET_SYS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-14 09:15:52 -07:00
Christopher Larson
6d9b06cd21 external-toolchain: catch re compilation errors in FILES_MIRRORS
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-14 09:15:52 -07:00
Christopher Larson
13b7be29ba Handle EXTERNAL_TOOLCHAIN correctly in checksums
We want the path included in the checksums for the -external-cross recipes, as
they wrap the external binaries and hardcode that path, but we don't want it
included in the checksums for anything else, and we don't want rebuilding the
external-cross recipes to cause rebuilds of thing sthat depend upon them.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
2015-04-01 13:17:32 -07:00
Christopher Larson
bc5068fd91 external-toolchain: show checked files when skipping
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-22 12:29:50 -07:00
Christopher Larson
0beb66b376 Split up external-sourcery-toolchain into separate recipes
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.

Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-19 10:35:25 -07:00
Christopher Larson
1e24d0e84a toolchain-scripts: add TOOLCHAIN_PATH_ADD to PATH
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-10-30 15:38:23 -07:00
Christopher Larson
4f3412df90 Drop the toolchain-scripts bits
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-07-31 08:42:31 -07:00
Christopher Larson
aa0df6efd4 toolchain-scripts: update from oe-core
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-07-26 12:31:34 -07:00
Christopher Larson
a47da1e82f toolchain-scripts: add copy with virtual/libc use
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-07-18 14:20:24 -07:00