summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-10-13 10:02:12 +0000
committerNicolas Thill <nico@openwrt.org>2006-10-13 10:02:12 +0000
commitb3ce218b51746d3a576221ea542facf3a1703ab2 (patch)
treed418f89516a4532ffb3e116bed454f0ab576726c /openwrt
parent286d6f8bc498890a8452d9582643908e892b4a22 (diff)
downloadmtk-20170518-b3ce218b51746d3a576221ea542facf3a1703ab2.zip
mtk-20170518-b3ce218b51746d3a576221ea542facf3a1703ab2.tar.gz
mtk-20170518-b3ce218b51746d3a576221ea542facf3a1703ab2.tar.bz2
move brcm-2.4 specific kmod to new module layout
SVN-Revision: 5058
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/kernel/modules.mk18
-rw-r--r--openwrt/target/linux/brcm-2.4/Makefile10
2 files changed, 18 insertions, 10 deletions
diff --git a/openwrt/package/kernel/modules.mk b/openwrt/package/kernel/modules.mk
index 2ce3ba9..7449cb3 100644
--- a/openwrt/package/kernel/modules.mk
+++ b/openwrt/package/kernel/modules.mk
@@ -60,6 +60,24 @@ define KernelPackage/ide-pdc202xx
endef
$(eval $(call KernelPackage,ide-pdc202xx))
+
+define KernelPackage/lp
+ TITLE:=Parallel port and line printer support
+ KCONFIG:=$(CONFIG_PARPORT)
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/parport/parport.o \
+ $(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
+ $(MODULES_DIR)/kernel/drivers/char/lp.o \
+ $(MODULES_DIR)/kernel/drivers/char/ppdev.o
+ AUTOLOAD:=$(call AutoLoad,50, \
+ parport \
+ parport_splink \
+ lp \
+ )
+endef
+$(eval $(call KernelPackage,lp))
+
+
define KernelPackage/ieee80211softmac
TITLE:=802.11 Networking stack
DESCRIPTION:=\\\
diff --git a/openwrt/target/linux/brcm-2.4/Makefile b/openwrt/target/linux/brcm-2.4/Makefile
index f0bf67a..33cb47c 100644
--- a/openwrt/target/linux/brcm-2.4/Makefile
+++ b/openwrt/target/linux/brcm-2.4/Makefile
@@ -12,18 +12,8 @@ LINUX_KERNEL_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
include ./config
include $(INCLUDE_DIR)/kernel.mk
-
-# broadcom specific kmod packages
-$(eval $(call KMOD_template,LP,lp,\
- $(MODULES_DIR)/kernel/drivers/parport/parport.o \
- $(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
- $(MODULES_DIR)/kernel/drivers/char/lp.o \
- $(MODULES_DIR)/kernel/drivers/char/ppdev.o \
-,CONFIG_PARPORT,,50,parport parport_splink lp))
-
include $(INCLUDE_DIR)/kernel-build.mk
-
$(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
[ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) ../generic-$(KERNEL)/patches
[ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches