summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/busybox/busybox.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 972e7d09c6..fc6ca917cd 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -3,6 +3,8 @@ DESCRIPTION = "BusyBox combines tiny versions of many common UNIX utilities into
3HOMEPAGE = "http://www.busybox.net" 3HOMEPAGE = "http://www.busybox.net"
4BUGTRACKER = "https://bugs.busybox.net/" 4BUGTRACKER = "https://bugs.busybox.net/"
5 5
6DEPENDS += "kern-tools-native"
7
6# bzip2 applet in busybox is based on lightly-modified bzip2 source 8# bzip2 applet in busybox is based on lightly-modified bzip2 source
7# the GPL is version 2 only 9# the GPL is version 2 only
8LICENSE = "GPLv2 & bzip2" 10LICENSE = "GPLv2 & bzip2"
@@ -112,8 +114,19 @@ do_prepare_config () {
112 fi 114 fi
113} 115}
114 116
117# returns all the elements from the src uri that are .cfg files
118def find_cfgs(d):
119 sources=src_patches(d, True)
120 sources_list=[]
121 for s in sources:
122 if s.endswith('.cfg'):
123 sources_list.append(s)
124
125 return sources_list
126
115do_configure () { 127do_configure () {
116 do_prepare_config 128 do_prepare_config
129 merge_config.sh -m .config ${@" ".join(find_cfgs(d))}
117 cml1_do_configure 130 cml1_do_configure
118} 131}
119 132