]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: Enable getopt applet
authorKhem Raj <raj.khem@gmail.com>
Sun, 6 Sep 2015 15:25:38 +0000 (15:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:56:34 +0000 (16:56 +0100)
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>
meta/recipes-core/busybox/busybox/getopts.cfg [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.23.2.bb

diff --git a/meta/recipes-core/busybox/busybox/getopts.cfg b/meta/recipes-core/busybox/busybox/getopts.cfg
new file mode 100644 (file)
index 0000000..8db0a4a
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_GETOPT=y
+CONFIG_LONG_OPTS=y
+CONFIG_FEATURE_GETOPT_LONG=y
index 8a4bae692acb8223d2f97adbaad3d8dd010ed5b4..e4d9f9718da2da4243deadc4fcac06f6dfbc54dc 100644 (file)
@@ -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"