* [Buildroot] busybox package configuration
@ 2007-07-08 11:14 Cristian Ionescu-Idbohrn
2007-07-08 11:55 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-08 11:14 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] busybox package configuration
2007-07-08 11:14 [Buildroot] busybox package configuration Cristian Ionescu-Idbohrn
@ 2007-07-08 11:55 ` Bernhard Fischer
2007-07-08 12:27 ` Cristian Ionescu-Idbohrn
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-07-08 11:55 UTC (permalink / raw)
To: buildroot
On Sun, Jul 08, 2007 at 01:14:51PM +0200, Cristian Ionescu-Idbohrn wrote:
>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,
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] busybox package configuration
2007-07-08 11:55 ` Bernhard Fischer
@ 2007-07-08 12:27 ` Cristian Ionescu-Idbohrn
2007-07-08 12:37 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-07-08 12:27 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] busybox package configuration
2007-07-08 12:27 ` Cristian Ionescu-Idbohrn
@ 2007-07-08 12:37 ` Bernhard Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Fischer @ 2007-07-08 12:37 UTC (permalink / raw)
To: buildroot
On Sun, Jul 08, 2007 at 02:27:42PM +0200, Cristian Ionescu-Idbohrn wrote:
>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?
yes, this is correct.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-08 12:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-08 11:14 [Buildroot] busybox package configuration Cristian Ionescu-Idbohrn
2007-07-08 11:55 ` Bernhard Fischer
2007-07-08 12:27 ` Cristian Ionescu-Idbohrn
2007-07-08 12:37 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox