[Buildroot] Avoiding patching kernel with uneeded things

Ulf Samuelsson ulf at atmel.com
Wed Aug 1 20:03:40 UTC 2007


Today we first patch the headers with
	"linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}"
and then with the openswan patches, if openswan is selected.


If we added a line to patch an architecture specific patch,
I.E:
	"linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}"
	"$(ARCH)-linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}"
	openswan
then the AVR32 patches would only be applied, if the BR2_avr32 is set.


The AVR32 patches would have to be renamed of course.

Any disagreement?

Best Regards
Ulf Samuelsson






More information about the buildroot mailing list