[Buildroot] busybox package configuration

4 messages, 2 authors, 2007-07-08 · open the first message on its own page

[Buildroot] busybox package configuration

From: Cristian Ionescu-Idbohrn <hidden>
Date: 2007-07-08 11:14:51

I mended the Config.in file:

Index: Config.in
===================================================================
--- Config.in	(revision 19026)
+++ Config.in	(working copy)
@@ -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?


-- 
Cristian

[Buildroot] busybox package configuration

From: Bernhard Fischer <hidden>
Date: 2007-07-08 11:55:19

On Sun, Jul 08, 2007 at 01:14:51PM +0200, Cristian Ionescu-Idbohrn wrote:
quoted hunk
I mended the Config.in file:

Index: Config.in
===================================================================
--- Config.in	(revision 19026)
+++ Config.in	(working copy)
@@ -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?
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,

[Buildroot] busybox package configuration

From: Cristian Ionescu-Idbohrn <hidden>
Date: 2007-07-08 12:27:42

On Sun, 8 Jul 2007, Bernhard Fischer wrote:
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?


-- 
Cristian

[Buildroot] busybox package configuration

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?
yes, this is correct.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help