summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-07-09 22:19:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 12:21:48 +0100
commit329665d68b17479ccd11fa60479c9c7a8b2355a8 (patch)
treeb8516d1f44dd3dedd839715d152351667d54f425 /meta/recipes-core
parent2c53213a1b9571b6cca01e70ba4c3e3af4f4b418 (diff)
downloadpoky-329665d68b17479ccd11fa60479c9c7a8b2355a8.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. (From OE-Core rev: af687c9137a3e8efe48afa6fd12866cf656ae913) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/busybox/busybox.inc10
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 () {
133 fi 133 fi
134} 134}
135 135
136# returns all the elements from the src uri that are .cfg files
137def find_cfgs(d):
138 sources=src_patches(d, True)
139 sources_list=[]
140 for s in sources:
141 if s.endswith('.cfg'):
142 sources_list.append(s)
143
144 return sources_list
145
146do_configure () { 136do_configure () {
147 set -x 137 set -x
148 do_prepare_config 138 do_prepare_config