diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-13 10:02:12 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-13 10:02:12 +0000 |
commit | 0c0df9eb082d5ff83d0f22f6e00bf580729fb49d (patch) | |
tree | d993cf48b4d89166701fe2f33976389d7634235d | |
parent | 7bad401033c9377b33a7bd772b120137146a4d99 (diff) |
move brcm-2.4 specific kmod to new module layout
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5058 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/modules.mk | 18 | ||||
-rw-r--r-- | target/linux/brcm-2.4/Makefile | 10 |
2 files changed, 18 insertions, 10 deletions
diff --git a/package/kernel/modules.mk b/package/kernel/modules.mk index 2ce3ba91e..7449cb3e1 100644 --- a/package/kernel/modules.mk +++ b/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/target/linux/brcm-2.4/Makefile b/target/linux/brcm-2.4/Makefile index f0bf67a64..33cb47cf5 100644 --- a/target/linux/brcm-2.4/Makefile +++ b/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 |