[Buildroot] kernel patch not applied

David Claffey david.claffey at rcn.com
Tue May 29 20:52:27 UTC 2007


> Can you please try to apply
> $(BR2_BOARD_PATH)/kernel-patches/linux-$(LINUX_HEADERS_VERSION)*.patch*
> in kernel-headers-new.makefile and after successful verification send
> the patch to me? TIA

Finally got a chance to do a fresh build. This simple patch now pulls in custom
device-specific kernel patches at kernel-header build time, as you suggested.
However, it differs from target/linux26.mk where the patch files are not
filtered by "linux-$(LINUX_HEADERS_VERSION)*".  Not sure if this will affect
other builds.

--- toolchain/kernel-headers/kernel-headers-new.makefile        (revision 18607)
+++ toolchain/kernel-headers/kernel-headers-new.makefile        (working copy)
@@ -30,6 +30,7 @@
 $(LINUX_HEADERS_UNPACK_DIR)/.patched: $(LINUX_HEADERS_UNPACK_DIR)/.unpacked
        toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR)
toolchain/kernel-headers \
                linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}
+       toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR)
$(BR2_BOARD_PATH)/kernel-patches linux-$(LINUX_HEADERS_VERSION)*.patch{,.gz,.bz2}
 ifeq ($(BR2_PACKAGE_OPENSWAN),y)
        toolchain/patch-kernel.sh $(LINUX_HEADERS_UNPACK_DIR) package/openswan \
                linux-$(LINUX_HEADERS_VERSION)-\*.patch{,.gz,.bz2}



More information about the buildroot mailing list