summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:24:28 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:24:28 +0000
commit871b6cb89a82d9a0b38af360c348c11be35bb15e (patch)
tree9aa7baf6b5dc4a5ecbb3732a018c6e098a33c9e7
parent4aac3b42a23c57e7e4076ee7805432995025a278 (diff)
zd1211-firmware: remove uneeded commands in install, use a separate description, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8657 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/zd1211-firmware/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/zd1211-firmware/Makefile b/package/zd1211-firmware/Makefile
index fb510ad9b..d3f551f9c 100644
--- a/package/zd1211-firmware/Makefile
+++ b/package/zd1211-firmware/Makefile
@@ -12,30 +12,30 @@ PKG_NAME:=zd1211-firmware
PKG_VERSION:=1.3
PKG_RELEASE:=1
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.sourceforge.net/zd1211/
PKG_MD5SUM:=cfff76ea35f4f93c37f6c99aa2058140
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+
include $(INCLUDE_DIR)/package.mk
define Package/zd1211-firmware
SECTION:=net
CATEGORY:=Network
TITLE:=zd1211 wifi firmware
- DESCRIPTION:=\
- This package contains firmware needed to run a zd1211 wifi stick with the rw driver
endef
-define Package/zd1211-firmware/install
- $(INSTALL_DIR) $(PKG_INSTALL_DIR)/lib/firmware/zd1211/
- $(INSTALL_DIR) $(1)/lib/firmware/zd1211/
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/zd* $(PKG_INSTALL_DIR)/lib/firmware/zd1211/
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/zd* $(1)/lib/firmware/zd1211/
+define Package/zd1211-firmware/description
+ This package contains firmware needed to run a zd1211 wifi stick with the rw driver
endef
define Build/Compile
endef
+define Package/zd1211-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/zd1211
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/zd* $(1)/lib/firmware/zd1211/
+endef
+
$(eval $(call BuildPackage,zd1211-firmware))