From 20795cfd6b03a7792131c450c8da424ff7111e63 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Wed, 21 Mar 2018 01:12:00 +0500 Subject: [PATCH] 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 --- lib/oe/external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oe/external.py b/lib/oe/external.py index 3cf7d31..7ee34c3 100644 --- a/lib/oe/external.py +++ b/lib/oe/external.py @@ -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