diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-07-09 22:19:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-12 12:20:38 +0100 |
commit | af687c9137a3e8efe48afa6fd12866cf656ae913 (patch) | |
tree | 4042ea4d444c480a21d6182cacf6ddb68ec166f4 /meta/recipes-core/busybox | |
parent | 419ad35ffe7f5199e49a246ef9854f0810ca1d6c (diff) | |
download | openembedded-core-contrib-af687c9137a3e8efe48afa6fd12866cf656ae913.tar.gz |
cml1: Move find_cfgs() helper to cml1.bbclass
u-boot.inc and busybox.inc contain identical copies of this little
helper. They both inherit the cml1 class and use cml1_do_configure
right after having used this helper, and other recipes that want to
write similar logic for doing Kconfig via fragments will also need it
or something equivalent.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 6cfdcd7344..45aaa2b41c 100644 --- a/meta/recipes-core/busybox/busybox.inc +++ b/meta/recipes-core/busybox/busybox.inc @@ -133,16 +133,6 @@ do_prepare_config () { fi } -# returns all the elements from the src uri that are .cfg files -def find_cfgs(d): - sources=src_patches(d, True) - sources_list=[] - for s in sources: - if s.endswith('.cfg'): - sources_list.append(s) - - return sources_list - do_configure () { set -x do_prepare_config |