]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
busybox: disable defconfig options from getopts.cfg and move long opts
authorEnrico Jörns <ejo@pengutronix.de>
Mon, 28 Oct 2024 08:29:11 +0000 (09:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2024 12:05:15 +0000 (12:05 +0000)
This disables getopts.cfg fragment options in the defconfig which were
accidentally enabled in 4335cd24 ("busybox: refresh the defconfig from
1.33.0").

Since there is longopts.cfg for long options, move
CONFIG_FEATURE_GETOPT_LONG there. It was probably not placed there
originally since it does not match the naming scheme of the other long
options.

Note that CONFIG_LONG_OPTS will just be dropped since it is enabled in
defconfig anyway.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/defconfig
meta/recipes-core/busybox/busybox/getopts.cfg
meta/recipes-core/busybox/busybox/longopts.cfg

index a65ae674d8d99fdbba7702392977cb3958f1dab1..7481ea2d6bdf56a7c2d1be86fb945962f5169036 100644 (file)
@@ -636,8 +636,8 @@ CONFIG_FLOCK=y
 # CONFIG_FSCK_MINIX is not set
 # CONFIG_FSFREEZE is not set
 CONFIG_FSTRIM=y
-CONFIG_GETOPT=y
-CONFIG_FEATURE_GETOPT_LONG=y
+# CONFIG_GETOPT is not set
+# CONFIG_FEATURE_GETOPT_LONG is not set
 CONFIG_HEXDUMP=y
 # CONFIG_HD is not set
 # CONFIG_XXD is not set
index 8db0a4a8f2f39cf950293a0ff46dcbc0ba522679..26a2e7add9648a37f6921758ab1521454dcd71f1 100644 (file)
@@ -1,3 +1 @@
 CONFIG_GETOPT=y
-CONFIG_LONG_OPTS=y
-CONFIG_FEATURE_GETOPT_LONG=y
index dcfab99919938eecf8ff56a1ffad165b24a26fd3..3255608f6446033f6b3b09ab6475bab36f5d0a90 100644 (file)
@@ -13,3 +13,4 @@ CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y
 CONFIG_FEATURE_IPCALC_LONG_OPTIONS=y
 CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y
 CONFIG_FEATURE_WGET_LONG_OPTIONS=y
+CONFIG_FEATURE_GETOPT_LONG=y