summaryrefslogtreecommitdiffstats
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-07 16:56:34 +0100
commit10c2c484d5916ad476ad7717c3629f6684f01e6d (patch)
tree9fbfb8232b4026639a1ae51c027e3369f2ae8910
parent4ccef5543649262a1630bff586ef9048fe164016 (diff)
downloadopenembedded-core-contrib-10c2c484d5916ad476ad7717c3629f6684f01e6d.tar.gz
openembedded-core-contrib-10c2c484d5916ad476ad7717c3629f6684f01e6d.tar.bz2
openembedded-core-contrib-10c2c484d5916ad476ad7717c3629f6684f01e6d.zip
busybox: Enable getopt applet
getopts is a common applet more so now needed by systemd for working with sysv scripts Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"