summaryrefslogtreecommitdiff
path: root/package/rt61-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'package/rt61-firmware')
-rw-r--r--package/rt61-firmware/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/rt61-firmware/Makefile b/package/rt61-firmware/Makefile
new file mode 100644
index 000000000..650dd9f30
--- /dev/null
+++ b/package/rt61-firmware/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= rt61-firmware
+PKG_VERSION:= 1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d4c690c93b470bc9a681297c2adc6281
+PKG_DESCR:= firmware for rt61/rt2601 wireless cards
+PKG_SECTION:= sys
+PKG_SITES:= http://www.ralinktech.com.tw/data/
+
+DISTFILES:= RT61_Firmware_V1.2.zip
+WRKDIST= ${WRKDIR}/RT61_Firmware_V1.2
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,RT61_FIRMWARE,rt61-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_RT61_FIRMWARE}/lib/firmware
+ ${CP} ${WRKBUILD}/rt2*.bin \
+ ${IDIR_RT61_FIRMWARE}/lib/firmware
+
+include ${TOPDIR}/mk/pkg-bottom.mk