Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/linux

Buildroot ulf at uclibc.org 3 participants 3 messages Sep 23, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-09-23 02:58:47 -0700 (Sun, 23 Sep 2007) New Revision: 19960

Log:
Use correct path to vmlinux, Fix bad SED of config

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in +6 -2
@@ -56,8 +56,12 @@
 # Has to be set by the target/device
 ifndef LINUX26_BINLOC
 # default:
+ifeq ($(LINUX26_FORMAT),vmlinux)
+LINUX26_BINLOC=$(LINUX26_FORMAT)
+else
 LINUX26_BINLOC=arch/$(KERNEL_ARCH)/boot/$(LINUX26_FORMAT)
 endif
+endif
 
 # File name for the Linux kernel binary
 ifndef LINUX26_KERNEL
@@ -143,7 +147,7 @@
 
 $(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
 	cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
-	$(SED) '/CONFIG_AEABI/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config
 ifeq ($(BR2_ARM_EABI),y)
 	echo "CONFIG_AEABI=y" >> $(LINUX26_DIR)/.config
 	$(SED) '/CONFIG_OABI_COMPAT/d' $(LINUX26_DIR)/.config
@@ -151,7 +155,7 @@
 else
 	echo "# CONFIG_AEABI is not set" >> $(LINUX26_DIR)/.config
 endif
-	$(SED) '/CONFIG_IPV6/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_IPV6=y/d' $(LINUX26_DIR)/.config
 ifeq ($(BR2_INET_IPV6),y)
 	echo "CONFIG_IPV6=y" >> $(LINUX26_DIR)/.config
 else
#1 lore raw
Quoted 17 lines · ulf at uclibc.org

Author: ulf
Date: 2007-09-23 02:58:47 -0700 (Sun, 23 Sep 2007) New Revision: 19960

Log:
Use correct path to vmlinux, Fix bad SED of config

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in line 150

Quoted 5 lines
buildroot/target/linux/Makefile.in +1 -1
@@ -143,7 +147,7 @@
 
 $(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
 	cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
-	$(SED) '/CONFIG_AEABI/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

What's wrong with that?
/CONFIG_AEABI/d is the proper thing to do to erase all occurances.

buildroot/target/linux/Makefile.in line 158

Quoted 9 lines
buildroot/target/linux/Makefile.in +0 -0
 ifeq ($(BR2_ARM_EABI),y)
 	echo "CONFIG_AEABI=y" >> $(LINUX26_DIR)/.config
 	$(SED) '/CONFIG_OABI_COMPAT/d' $(LINUX26_DIR)/.config
@@ -151,7 +155,7 @@

else

	echo "# CONFIG_AEABI is not set" >> $(LINUX26_DIR)/.config

endif

buildroot/target/linux/Makefile.in +1 -1
-	$(SED) '/CONFIG_IPV6/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_IPV6=y/d' $(LINUX26_DIR)/.config

ditto.

#2 lore raw

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

Quoted 27 lines · ulf at uclibc.org
Quoted 17 lines

Author: ulf
Date: 2007-09-23 02:58:47 -0700 (Sun, 23 Sep 2007) New Revision: 19960

Log:
Use correct path to vmlinux, Fix bad SED of config

Modified:
trunk/buildroot/target/linux/Makefile.in

Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================

buildroot/target/linux/Makefile.in line 150

Quoted 5 lines
buildroot/target/linux/Makefile.in +1 -1
@@ -143,7 +147,7 @@
 
 $(LINUX26_DIR)/.configured: $(LINUX26_DIR)/.patched $(LINUX26_KCONFIG)
 	cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
-	$(SED) '/CONFIG_AEABI/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_AEABI=y/d' $(LINUX26_DIR)/.config

What's wrong with that?
/CONFIG_AEABI/d is the proper thing to do to erase all occurances.

Quoted 11 lines

buildroot/target/linux/Makefile.in line 158

Quoted 9 lines
buildroot/target/linux/Makefile.in +0 -0
 ifeq ($(BR2_ARM_EABI),y)
 	echo "CONFIG_AEABI=y" >> $(LINUX26_DIR)/.config
 	$(SED) '/CONFIG_OABI_COMPAT/d' $(LINUX26_DIR)/.config
@@ -151,7 +155,7 @@

else

	echo "# CONFIG_AEABI is not set" >> $(LINUX26_DIR)/.config

endif

buildroot/target/linux/Makefile.in +1 -1
-	$(SED) '/CONFIG_IPV6/d' $(LINUX26_DIR)/.config
+	$(SED) '/CONFIG_IPV6=y/d' $(LINUX26_DIR)/.config

ditto.

This erases all CONFIG_IPV6_* as well, even when commented away, so when "make oldconfig" done, the build stops and waits for a value of those configuration items.

I would like the build to progress without user input.

BR
Ulf Samuelsson