Selaa lähdekoodia

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 <benoit.mauduit@openwide.fr>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire 14 vuotta sitten
vanhempi
commit
3011d23518
3 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 3 0
      linux/Config.ext.in
  2. 4 0
      linux/Config.in
  3. 2 0
      linux/linux.mk

+ 3 - 0
linux/Config.ext.in

@@ -0,0 +1,3 @@
+menu "Linux Kernel Extensions"
+
+endmenu

+ 4 - 0
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

+ 2 - 0
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