busybox package configuration
I mended the Config.in file:
Config.in +1 -0
@@ -100,6 +100,7 @@ default "package/busybox/busybox-1.5.0.config" if BR2_BUSYBOX_VERSION_1_5_0 default "package/busybox/busybox-1.5.0.config" if BR2_BUSYBOX_VERSION_1_5_1 default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_6_0 + default "package/busybox/busybox-1.6.1.config" if BR2_BUSYBOX_VERSION_1_6_1 help Some people may wish to use their own modified BusyBox configuration file, and will specify their config file location with this option.
created a busybox-1.6.1.config file in package/busybox, did a 'make menuconfig' in topdir and expected to see the package/busybox/busybox-1.6.1.config preselected. But no joy :( I still needed to manually enter the config file path into the field.
I can also see that the BR2_PACKAGE_BUSYBOX_CONFIG variable in busybox.mk is empty when making a busybox-<something> target. There's some make magic I do not possess :( Any ideas?
Signature · 1 line
Cristian
Quoted 15 lines · Cristian Ionescu-Idbohrn
I mended the Config.in file:
Index: Config.in
===================================================================Config.in +1
-0@@ -100,6 +100,7 @@ default "package/busybox/busybox-1.5.0.config" if BR2_BUSYBOX_VERSION_1_5_0 default "package/busybox/busybox-1.5.0.config" if BR2_BUSYBOX_VERSION_1_5_1 default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_6_0 + default "package/busybox/busybox-1.6.1.config" if BR2_BUSYBOX_VERSION_1_6_1 help Some people may wish to use their own modified BusyBox configuration file, and will specify their config file location with this option.
Quoted 8 lines
created a busybox-1.6.1.config file in package/busybox, did a 'make menuconfig' in topdir and expected to see the
package/busybox/busybox-1.6.1.configpreselected. But no joy :( I still needed to manually enter the config file path into the field.I can also see that the
BR2_PACKAGE_BUSYBOX_CONFIGvariable in busybox.mk is empty when making a busybox-<something> target. There's some make magic I do not possess :( Any ideas?
No magic involved. Consider the sequence you were doing:
1) make conf
1a) you select 1.6.1, i forgot to add a default for this version ->
empty BR2_PACKAGE_BUSYBOX_CONFIG
1b) you add the line above.
1c) re-conf. A default (empty string) is present, so no default is set
I suggest you
svn up
sed -i -e "/BR2_PACKAGE_BUSYBOX_CONFIG/d"
make oldconfig
HTH,
Quoted 1 line · Bernhard Fischer
sed -i -e "/BR2_PACKAGE_BUSYBOX_CONFIG/d"
That was the magic :)
As long as there is a BR2_PACKAGE_BUSYBOX_CONFIG in .config, it's value will not be changed only because the Config.in is suddenly changed/corrected. Only after the variable is removed from .config will it be reinstated by a re-config. Is this correct?
Signature · 1 line
Cristian
Quoted 10 lines · Cristian Ionescu-Idbohrn
Quoted 1 line · Bernhard Fischer
sed -i -e "/BR2_PACKAGE_BUSYBOX_CONFIG/d"
That was the magic :)
As long as there is a
BR2_PACKAGE_BUSYBOX_CONFIGin .config, it's value will not be changed only because the Config.in is suddenly changed/corrected. Only after the variable is removed from .config will it be reinstated by a re-config. Is this correct?
yes, this is correct.