aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2022-06-08oe.external: redirect stderr to stdout for newer gccChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01Convert to new overrides syntax for honisterChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-28Add support for FILES_PREMIRRORSChristopher Larson
This lets us prefer certain alternative paths to the default in particular cases, such as use of ${libdir}/bin in the case of a multilib build to avoid bindir conflicts. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07oe.external: add/improve debug messagesChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-07-07oe.external.run: let cmd already start with the prefixChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07Revert "oe.external: use EXTERNAL_CC for gcc"Christopher Larson
This reverts commit 2a3cffd458ec135b2b1b3afcd52bcd3e389b3507.
2020-07-02oe.external: use EXTERNAL_CC for gccChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02oe.external: obey EXTERNAL_TOOLCHAIN_BINChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17Use --no-preserve=ownership when copyingChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-11-16Merge remote-tracking branch 'origin/sumo'Christopher Larson
* origin/sumo: external-common.bbclass: fix long standing oe.external import issue bash: check if support/bash.pc exist before running sed bash: drop -B${gcc_bindir} from bash.pc external-toolchain.bbclass: add missing mlprefix in binutils dep oe.external: handle invalid FILES_MIRRORS entries glibc-external: add virtual/crypt to PROVIDES Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-12oe.external: handle invalid FILES_MIRRORS entriesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03oe.external: obey EXTERNAL_FILES over FILESChristopher Larson
This lets one add files to be packaged beyond those being extracted from the external toolchain, i.e. for files coming from elsewhere, or created by do_install/do_install_extra. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03oe.external: drop unneeded ,True from getVarsChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-03-17oe.external: escape the pathname from FILES_MIRRORSChristopher Larson
Currently the substitutions fail to match if the path contains re special characters like '+', which is problematic. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-01oe.external: run in topdir, not tmpdirChristopher Larson
If we run in tmpdir, and run a bitbake -e after wiping tmpdir, EXTERNAL_TOOLCHAIN_SYSROOT will be 'UNKNOWN' rather than the correct path, due to PWD not existing when we try to extract the sysroot path. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-06-02oe.external: use bb.process.runChristopher Larson
oe.path.check_output was returning a bytes, not an str. Switch to bb.process to resolve issues with python3. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-29oe.external: move common functions hereChristopher Larson
Also provide external-common.bbclass to wrap its inclusion and setup associated metadata. This will make easier to search sysroots for files without pulling in the rest of the external toolchain class. Signed-off-by: Christopher Larson <chris_larson@mentor.com>