From: Thomas De Schampheleire Date: Sat, 17 Sep 2011 20:22:51 +0000 (+0200) Subject: linux: Add Linux Kernel extensions menu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3011d235185b490e619dd8b01004538c5985b0ed;p=buildroot.git linux: Add Linux Kernel extensions menu Add a kernel sub-menu (called "Linux Kernel Extensions"), which makes possible to patch it or tweak the kernel build step. * All linux/linux-ext-*.mk files will be read by the make process. * The menu can be customized in "linux/Config.ext.in". [Peter: small fixes] Signed-off-by: Benoit Mauduit Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- diff --git a/linux/Config.ext.in b/linux/Config.ext.in new file mode 100644 index 0000000000..50e801d67b --- /dev/null +++ b/linux/Config.ext.in @@ -0,0 +1,3 @@ +menu "Linux Kernel Extensions" + +endmenu diff --git a/linux/Config.in b/linux/Config.in index 537cb54cc3..56552867fb 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -176,6 +176,10 @@ config BR2_LINUX_KERNEL_INSTALL_TARGET /boot in the target root filesystem, as is typically done on x86/x86_64 systems. + +# Linux extensions +source "linux/Config.ext.in" + endif # BR2_LINUX_KERNEL endmenu diff --git a/linux/linux.mk b/linux/linux.mk index d289b28427..f249d96701 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -177,6 +177,8 @@ define LINUX_INSTALL_TARGET_CMDS fi endef +include linux/linux-ext-*.mk + $(eval $(call GENTARGETS,,linux)) linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig linux26-xconfig linux26-gconfig linux26-nconfig: dirs $(LINUX_DIR)/.stamp_configured