Skip to contentSkip to conversation

svn commit: trunk/buildroot

Buildroot ulf at uclibc.org 4 participants 4 messages Sep 23, 2007 – Sep 24, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-09-23 03:57:15 -0700 (Sun, 23 Sep 2007) New Revision: 19964

Log:
fix error when doing 'make %_defconfig

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +1 -1
@@ -409,7 +409,7 @@
 
 %_defconfig: $(CONFIG)/conf
 	cp $(shell find ./target/ -name $@) .config
-	@$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+	- $(MAKE) oldconfig
 
 help:
 	@echo 'Cleaning:'
#1 lore raw
Quoted 20 lines · ulf at uclibc.org

Author: ulf
Date: 2007-09-23 03:57:15 -0700 (Sun, 23 Sep 2007) New Revision: 19964

Log:
fix error when doing 'make %_defconfig

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +0 -0
@@ -409,7 +409,7 @@
 

%_defconfig: $(CONFIG)/conf

	cp $(shell find ./target/ -name $@) .config

buildroot/Makefile line 412

Quoted 2 lines
buildroot/Makefile +1 -1
-	@$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+	- $(MAKE) oldconfig

1) whitespace damaged
2) erroneously removes '@'
3) what error were you seeing?

Quoted 3 lines

help:
@echo 'Cleaning:'

Please document the config copying in the help or remove it (I supposed folks should be able to call 'cp' themself).
Oh and why do those live in project/* and not near the other config-related targets?

#2 lore raw

s?n 2007-09-23 klockan 13:19 +0200 skrev Bernhard Fischer:

Quoted 19 lines · ulf at uclibc.org
Quoted 18 lines

Author: ulf
Date: 2007-09-23 03:57:15 -0700 (Sun, 23 Sep 2007) New Revision: 19964

Log:
fix error when doing 'make %_defconfig

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +0 -0
@@ -409,7 +409,7 @@
 
Quoted 7 lines

buildroot/Makefile line 412

Quoted 4 lines

%_defconfig: $(CONFIG)/conf

	cp $(shell find ./target/ -name $@) .config
buildroot/Makefile +1 -1
-	@$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+	- $(MAKE) oldconfig

1) whitespace damaged
2) erroneously removes '@'

OK, I'll fix both.

Quoted 1 line

3) what error were you seeing?

Don't remember exactly,
Reported this two weeks ago.
This was fixed by Hans Christian in his trunk.

It looks like conf does not complete.
The fix handles that, and the error message is gone.

Quoted 10 lines
Quoted 4 lines

help:
@echo 'Cleaning:'

Please document the config copying in the help or remove it (I supposed folks should be able to call 'cp' themself).
Oh and why do those live in project/* and not near the other config-related targets?

#3 lore raw
Quoted 2 lines · Ulf Samuelsson

s?n 2007-09-23 klockan 13:19 +0200 skrev Bernhard Fischer:

Quoted 1 line · ulf at uclibc.org

<cut _defconfig commit>

Quoted 7 lines
Quoted 1 line

3) what error were you seeing?

Don't remember exactly,
Reported this two weeks ago.
This was fixed by Hans Christian in his trunk.

It looks like conf does not complete.
The fix handles that, and the error message is gone.

Running oldconfig after copying in a _defconfig resulted in this error message:

Generic firewall (BR2_TARGET_GENERIC_FIREWALL) [N/y/?] n Generic development system (BR2_TARGET_GENERIC_DEV_SYSTEM) [N/y/?] n #

# configuration written to .config
#

*** Error during writing of the Buildroot configuration.

<cut>

Signature · 2 lines
With kind regards,
Hans-Christian Egtvedt, Applications Engineer