[Buildroot] svn commit: trunk/buildroot/target/linux

Ulf Samuelsson ulf at atmel.com
Tue Aug 21 13:29:02 UTC 2007


> 
> Changeset:
> Modified: trunk/buildroot/target/linux/Makefile.in
> ===================================================================
> --- trunk/buildroot/target/linux/Makefile.in	2007-08-21 12:09:53 UTC (rev 19613)
> +++ trunk/buildroot/target/linux/Makefile.in	2007-08-21 13:21:44 UTC (rev 19614)
> @@ -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)\"" >> \

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.


-- 
Best Regards,
Ulf Samuelsson




More information about the buildroot mailing list