AUTOLOAD:=$(call AutoLoad,50,parport lp)
endef
+define KernelPackage/lp/2.4
+ FILES:= \
+ $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50, \
+ parport \
+ parport_splink \
+ lp \
+ )
+endef
+
$(eval $(call KernelPackage,lp))
+
define KernelPackage/pcspkr
SUBMENU:=$(OTHER_MENU)
TITLE:=PC speaker support
+++ /dev/null
-define KernelPackage/lp/brcm-2.4
- FILES:= \
- $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,50, \
- parport \
- parport_splink \
- lp \
- )
-endef
-