17 Commits

Author SHA1 Message Date
Christopher Larson
48c4826df7 oe.external: redirect stderr to stdout for newer gcc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2022-06-08 21:31:18 +05:00
Christopher Larson
a81f04f908 Convert to new overrides syntax for honister
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2021-09-01 16:38:22 +00:00
Christopher Larson
be4fae984d Add support for FILES_PREMIRRORS
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-28 21:34:53 +05:00
Christopher Larson
fd66753707 oe.external: add/improve debug messages
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2020-07-07 13:42:28 -07:00
Christopher Larson
14fa5f8079 oe.external.run: let cmd already start with the prefix
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-07 13:41:44 -07:00
Christopher Larson
7d2c754318 Revert "oe.external: use EXTERNAL_CC for gcc"
This reverts commit 2a3cffd458.
2020-07-07 13:40:39 -07:00
Christopher Larson
2a3cffd458 oe.external: use EXTERNAL_CC for gcc
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
224bac7c2b oe.external: obey EXTERNAL_TOOLCHAIN_BIN
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
093ef8d22c Use --no-preserve=ownership when copying
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-09-17 21:36:42 +00:00
Christopher Larson
f4eca9c11d Merge remote-tracking branch 'origin/sumo'
* 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-11-16 22:36:31 +05:00
Christopher Larson
226a8616f8 oe.external: handle invalid FILES_MIRRORS entries
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-12 22:35:51 +05:00
Christopher Larson
20795cfd6b oe.external: obey EXTERNAL_FILES over FILES
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-03 03:05:03 +05:00
Christopher Larson
e89a84fdff oe.external: drop unneeded ,True from getVars
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-08-03 03:05:03 +05:00
Christopher Larson
52de7a284a oe.external: escape the pathname from FILES_MIRRORS
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>
2018-03-17 07:22:39 +05:00
Christopher Larson
6ac1c14748 oe.external: run in topdir, not tmpdir
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-11-01 10:53:31 -07:00
Christopher Larson
ea5aec7ba7 oe.external: use bb.process.run
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>
2016-06-02 08:03:17 -07:00
Christopher Larson
bfc86fd9c4 oe.external: move common functions here
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>
2015-07-29 13:10:51 -07:00