summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/realtek-firmware/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/realtek-firmware/Makefile b/package/realtek-firmware/Makefile
new file mode 100644
index 000000000..368a4cf89
--- /dev/null
+++ b/package/realtek-firmware/Makefile
@@ -0,0 +1,27 @@
+# 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:= realtek-firmware
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 85a7d1d1386143fad312a5a82c422380
+PKG_DESCR:= firmware for realtek wireless cards
+PKG_SECTION:= wifi
+PKG_SITES:= http://www.openadk.org/distfiles/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,REALTEK_FIRMWARE,realtek-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_REALTEK_FIRMWARE}/lib/firmware/rtlwifi
+ ${CP} ${WRKBUILD}/*.bin \
+ ${IDIR_REALTEK_FIRMWARE}/lib/firmware/rtlwifi
+
+include ${TOPDIR}/mk/pkg-bottom.mk