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?
--
Cristian
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?
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,
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?
--
Cristian
From: Bernhard Fischer <hidden> Date: 2007-07-08 12:37:20
On Sun, Jul 08, 2007 at 02:27:42PM +0200, Cristian Ionescu-Idbohrn wrote:
On Sun, 8 Jul 2007, Bernhard Fischer wrote:
quoted
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?