svn commit: trunk/buildroot/target/linux
Author: aldot
Date: 2007-08-21 06:21:44 -0700 (Tue, 21 Aug 2007) New Revision: 19614
Log:
- propagate IPv6 setting down to the kernel
Modified:
trunk/buildroot/target/linux/Makefile.in
Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================
buildroot/target/linux/Makefile.in +6 -0
@@ -121,6 +121,12 @@ else echo "# CONFIG_AEABI is not set" >> $(LINUX26_DIR)/.config endif + $(SED) '/CONFIG_IPV6/d' $(LINUX26_DIR)/.config +ifeq ($(BR2_INET_IPV6),y) + echo "CONFIG_IPV6=y" >> $(LINUX26_DIR)/.config +else + echo "# CONFIG_IPV6 is not set" >> $(LINUX26_DIR)/.config +endif ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) $(SED) '/CONFIG_INITRAMFS_SOURCE/d' $(LINUX26_DIR)/.config echo "CONFIG_INITRAMFS_SOURCE=\"$(INITRAMFS_TARGET)\"" >> \
Quoted 10 lines
Changeset:
Modified: trunk/buildroot/target/linux/Makefile.in
===================================================================buildroot/target/linux/Makefile.in +0
-0@@ -121,6 +121,12 @@ else echo "# CONFIG_AEABI is not set" >> $(LINUX26_DIR)/.config
buildroot/target/linux/Makefile.in line 132
Quoted 10 lines
buildroot/target/linux/Makefile.in +6
-0endif + $(SED) '/CONFIG_IPV6/d' $(LINUX26_DIR)/.config +ifeq ($(BR2_INET_IPV6),y) + echo "CONFIG_IPV6=y" >> $(LINUX26_DIR)/.config +else + echo "# CONFIG_IPV6 is not set" >> $(LINUX26_DIR)/.config +endif ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) $(SED) '/CONFIG_INITRAMFS_SOURCE/d' $(LINUX26_DIR)/.config echo "CONFIG_INITRAMFS_SOURCE=\"$(INITRAMFS_TARGET)\"" >> \
I think this is dangerous.
What happens if someone introduces CONFIG_IPV6_EXTRA_CONFIG in the kernel.
It is better to 'sed' the .config for the full string.
Signature · 2 lines
Best Regards, Ulf Samuelsson