mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
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>
This commit is contained in:
@@ -45,7 +45,7 @@ def gather_pkg_files(d):
|
||||
import itertools
|
||||
files = []
|
||||
for pkg in d.getVar('PACKAGES').split():
|
||||
files = itertools.chain(files, (d.getVar('FILES_{}'.format(pkg)) or '').split())
|
||||
files = itertools.chain(files, (d.getVar('EXTERNAL_FILES_{}'.format(pkg)) or d.getVar('FILES_{}'.format(pkg)) or '').split())
|
||||
files = itertools.chain(files, d.getVar('EXTERNAL_EXTRA_FILES').split())
|
||||
return files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user