This adds a package for leds-parport (http://code.bastart.eu.org/leds-parport/) Leds-parport is a LED subsystem device driver for the Linux operating system. The code was written for Linux version 2.6.22 but has since been tested up to 2.6.25. The module takes 1 parameter, which is parled_port_nr, which is the parallel port number on which the LEDs are connected.
Signed-off-by: Axel Gembe <[EMAIL PROTECTED]> --- package/leds-parport/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 package/leds-parport/Makefile diff --git a/package/leds-parport/Makefile b/package/leds-parport/Makefile new file mode 100644 index 0000000..959d907 --- /dev/null +++ b/package/leds-parport/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2008 Axel Gembe <[EMAIL PROTECTED]> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=leds-parport +PKG_VERSION:=0.0.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://code.bastart.eu.org/files +PKG_MD5SUM:=dec1d115b60c7def65e79b374dc06d15 + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/leds-parport + SUBMENU:=Other modules + TITLE:=Parallel port LED support + URL:=http://code.bastart.eu.org/leds-parport/ + FILES:=$(PKG_BUILD_DIR)/leds-parport.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,99,leds-parport) +endef + +define KernelPackage/leds-parport/description + This is a LED subsystem device driver for the Linux operating system. The code + was written for Linux version 2.6.22 but has since been tested up to 2.6.25. + The module takes 1 parameter, which is parled_port_nr, which is the parallel + port number on which the LEDs are connected. +endef + +define Build/Compile + $(MAKE) -C "$(LINUX_DIR)" \ + ARCH="$(LINUX_KARCH)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + SUBDIRS="$(PKG_BUILD_DIR)" + modules +endef + +$(eval $(call KernelPackage,leds-parport)) -- 1.5.5.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel