aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-06 15:25:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-09 14:27:44 +0100
commit697428cbbaf91f77160623814b3a4abd1f912192 (patch)
tree397a27bdc8524a87b9fdb13e7c7a067b74f90496 /meta/recipes-core/busybox
parente3b5d8f42c0e8d0b87d561fbcf56fdb050dd2353 (diff)
downloadopenembedded-core-contrib-697428cbbaf91f77160623814b3a4abd1f912192.tar.gz
busybox: Enable getopt applet
getopts is a common applet more so now needed by systemd for working with sysv scripts (From OE-Core rev: 10c2c484d5916ad476ad7717c3629f6684f01e6d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r--meta/recipes-core/busybox/busybox/getopts.cfg3
-rw-r--r--meta/recipes-core/busybox/busybox_1.23.2.bb1
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/getopts.cfg b/meta/recipes-core/busybox/busybox/getopts.cfg
new file mode 100644
index 0000000000..8db0a4a8f2
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/getopts.cfg
@@ -0,0 +1,3 @@
+CONFIG_GETOPT=y
+CONFIG_LONG_OPTS=y
+CONFIG_FEATURE_GETOPT_LONG=y
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb b/meta/recipes-core/busybox/busybox_1.23.2.bb
index 8a4bae692a..e4d9f9718d 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -35,6 +35,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://mount-via-label.cfg \
file://sha1sum.cfg \
file://sha256sum.cfg \
+ file://getopts.cfg \
"
SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73"