summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2024-10-28 09:29:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-01 12:07:12 +0000
commit5063bc8fef1cee76cbaf18dd157831dec42d4ffe (patch)
treefe8d3d7da89a9c77d0c3b117bf7368511b0bde31
parent215930512d5bdbcde754e0d59e610bfcf367974f (diff)
downloadpoky-5063bc8fef1cee76cbaf18dd157831dec42d4ffe.tar.gz
busybox: disable defconfig options from getopts.cfg and move long opts
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. (From OE-Core rev: 9022cff09c78fa1e0ac8e2b94c1992caa40074c4) 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>
-rw-r--r--meta/recipes-core/busybox/busybox/defconfig4
-rw-r--r--meta/recipes-core/busybox/busybox/getopts.cfg2
-rw-r--r--meta/recipes-core/busybox/busybox/longopts.cfg1
3 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/busybox/busybox/defconfig b/meta/recipes-core/busybox/busybox/defconfig
index a65ae674d8..7481ea2d6b 100644
--- a/meta/recipes-core/busybox/busybox/defconfig
+++ b/meta/recipes-core/busybox/busybox/defconfig
@@ -636,8 +636,8 @@ CONFIG_FLOCK=y
636# CONFIG_FSCK_MINIX is not set 636# CONFIG_FSCK_MINIX is not set
637# CONFIG_FSFREEZE is not set 637# CONFIG_FSFREEZE is not set
638CONFIG_FSTRIM=y 638CONFIG_FSTRIM=y
639CONFIG_GETOPT=y 639# CONFIG_GETOPT is not set
640CONFIG_FEATURE_GETOPT_LONG=y 640# CONFIG_FEATURE_GETOPT_LONG is not set
641CONFIG_HEXDUMP=y 641CONFIG_HEXDUMP=y
642# CONFIG_HD is not set 642# CONFIG_HD is not set
643# CONFIG_XXD is not set 643# CONFIG_XXD is not set
diff --git a/meta/recipes-core/busybox/busybox/getopts.cfg b/meta/recipes-core/busybox/busybox/getopts.cfg
index 8db0a4a8f2..26a2e7add9 100644
--- a/meta/recipes-core/busybox/busybox/getopts.cfg
+++ b/meta/recipes-core/busybox/busybox/getopts.cfg
@@ -1,3 +1 @@
1CONFIG_GETOPT=y CONFIG_GETOPT=y
2CONFIG_LONG_OPTS=y
3CONFIG_FEATURE_GETOPT_LONG=y
diff --git a/meta/recipes-core/busybox/busybox/longopts.cfg b/meta/recipes-core/busybox/busybox/longopts.cfg
index dcfab99919..3255608f64 100644
--- a/meta/recipes-core/busybox/busybox/longopts.cfg
+++ b/meta/recipes-core/busybox/busybox/longopts.cfg
@@ -13,3 +13,4 @@ CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS=y
13CONFIG_FEATURE_IPCALC_LONG_OPTIONS=y 13CONFIG_FEATURE_IPCALC_LONG_OPTIONS=y
14CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y 14CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y
15CONFIG_FEATURE_WGET_LONG_OPTIONS=y 15CONFIG_FEATURE_WGET_LONG_OPTIONS=y
16CONFIG_FEATURE_GETOPT_LONG=y