diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-17 13:28:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-17 13:28:44 +0000 |
commit | fc8abe2dfa2ecf774835835f24ff536b8e1cf6a0 (patch) | |
tree | 62ef3c967dcba536e24fd1964f26081ba4d023a0 | |
parent | ce19a369af232ac48f9b27a2e20af87b1129cb6b (diff) | |
download | mtk-20170518-fc8abe2dfa2ecf774835835f24ff536b8e1cf6a0.zip mtk-20170518-fc8abe2dfa2ecf774835835f24ff536b8e1cf6a0.tar.gz mtk-20170518-fc8abe2dfa2ecf774835835f24ff536b8e1cf6a0.tar.bz2 |
allow platform support directories to add and modify kernel module packages
SVN-Revision: 5184
-rw-r--r-- | package/kernel/Makefile | 2 | ||||
-rw-r--r-- | package/kernel/modules/other.mk | 2 | ||||
-rw-r--r-- | target/linux/brcm-2.4/modules.mk | 13 |
3 files changed, 15 insertions, 2 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile index 7c81cda..f755bed 100644 --- a/package/kernel/Makefile +++ b/package/kernel/Makefile @@ -59,6 +59,7 @@ define KernelPackage $(eval $(call KernelPackage/Defaults)) $(eval $(call KernelPackage/$(1))) $(eval $(call KernelPackage/$(1)/$(KERNEL))) + $(eval $(call KernelPackage/$(1)/$(BOARD)-$(KERNEL))) define Package/kmod-$(1) TITLE:=$(TITLE) @@ -88,4 +89,5 @@ define AutoLoad add_module $(1) "$(2)"; endef +include $(TOPDIR)/target/linux/*/modules.mk include ./modules/*.mk diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 0670a3c..c9264ed 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -69,13 +69,11 @@ define KernelPackage/lp KCONFIG:=$(CONFIG_PARPORT) FILES:= \ $(MODULES_DIR)/kernel/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \ - $(MODULES_DIR)/kernel/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \ $(MODULES_DIR)/kernel/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \ $(MODULES_DIR)/kernel/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX) SUBMENU:=$(EMENU) AUTOLOAD:=$(call AutoLoad,50, \ parport \ - parport_splink \ lp \ ) endef diff --git a/target/linux/brcm-2.4/modules.mk b/target/linux/brcm-2.4/modules.mk new file mode 100644 index 0000000..6c4ecae --- /dev/null +++ b/target/linux/brcm-2.4/modules.mk @@ -0,0 +1,13 @@ +define KernelPackage/lp/brcm-2.4 + FILES:= \ + $(MODULES_DIR)/kernel/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50, \ + parport \ + parport_splink \ + lp \ + ) +endef + |