summaryrefslogtreecommitdiff
path: root/package/ralink-firmware/Makefile
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-06-01 13:00:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-06-05 03:44:28 +0200
commit5532d73b943dd2819ffdbc9b818a51963a7ed7fb (patch)
tree0f51e40e46cc98a640d1d74254cf8f4c1f63ba98 /package/ralink-firmware/Makefile
parent0286cdc8007636a9f1d46fa7518962131ee96360 (diff)
added package for ralink wireless firmware
Signed-off-by: Joerg Seitter <adk@seitter.net>
Diffstat (limited to 'package/ralink-firmware/Makefile')
-rw-r--r--package/ralink-firmware/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/ralink-firmware/Makefile b/package/ralink-firmware/Makefile
new file mode 100644
index 000000000..0c8d96656
--- /dev/null
+++ b/package/ralink-firmware/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= ralink-firmware
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_HASH:= afecbffbea1bd734437c12db5f24863b9d93c9583a4c0dbe61f57b120f993b87
+PKG_DESCR:= ralink wireless driver firmware
+PKG_SECTION:= sys/firmware
+PKG_SITES:= http://distfiles.openadk.org/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tgz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,RALINK_FIRMWARE,ralink-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_RALINK_FIRMWARE)/lib/firmware
+ ${CP} ${WRKBUILD}/*.bin ${IDIR_RALINK_FIRMWARE}/lib/firmware
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk