mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
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
This commit is contained in:
parent
031c35252f
commit
5c3a3ae6f2
@ -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
|
||||
|
@ -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
|
||||
|
13
target/linux/brcm-2.4/modules.mk
Normal file
13
target/linux/brcm-2.4/modules.mk
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user