aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-17 13:28:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-17 13:28:44 +0000
commit941781e458edf21ef38536831619feb4b7534d38 (patch)
tree5d220c071039a04cfebd0482e29c74c7fbefb8e1 /package
parent3d98538f1c146acfb028ccfd08d14027887ea937 (diff)
downloadupstream-941781e458edf21ef38536831619feb4b7534d38.tar.gz
upstream-941781e458edf21ef38536831619feb4b7534d38.tar.bz2
upstream-941781e458edf21ef38536831619feb4b7534d38.zip
allow platform support directories to add and modify kernel module packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5184 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/Makefile2
-rw-r--r--package/kernel/modules/other.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index 7c81cda0ae..f755bed96f 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 0670a3ce1c..c9264ed7c4 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