summaryrefslogtreecommitdiff
path: root/package/realtek-firmware/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-04 14:55:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-04 14:59:28 +0200
commitcc009898e2184ab8d04c4af8748e719bc0bd63a6 (patch)
tree526f14a588589fc217a9c1240aa57329fe2b1c7a /package/realtek-firmware/Makefile
parente23746e37fa9f876eebdcd8cb37790c76fbb0a91 (diff)
add support for wired realtek cards, which require firmware, too
Diffstat (limited to 'package/realtek-firmware/Makefile')
-rw-r--r--package/realtek-firmware/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/package/realtek-firmware/Makefile b/package/realtek-firmware/Makefile
index 1723505db..cb26094eb 100644
--- a/package/realtek-firmware/Makefile
+++ b/package/realtek-firmware/Makefile
@@ -4,26 +4,30 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= realtek-firmware
-PKG_VERSION:= 1.0
+PKG_VERSION:= 1.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= 85a7d1d1386143fad312a5a82c422380
-PKG_DESCR:= firmware for realtek wireless cards
+PKG_MD5SUM:= 32b82d463f8742e094ed53a4820424c6
+PKG_DESCR:= firmware for realtek wired and wireless cards
PKG_SECTION:= sys/firmware
PKG_SITES:= http://www.openadk.org/distfiles/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+PKG_SUBPKGS:= REALTEK_FIRMWARE_WIRELESS REALTEK_FIRMWARE_WIRED
include ${ADK_TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,REALTEK_FIRMWARE,realtek-firmware,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,REALTEK_FIRMWARE_WIRED,realtek-firmware-wired,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,REALTEK_FIRMWARE_WIRELESS,realtek-firmware-wireless,${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
+ ${INSTALL_DIR} ${IDIR_REALTEK_FIRMWARE_WIRELESS}/lib/firmware
+ ${CP} ${WRKBUILD}/rtlwifi \
+ ${IDIR_REALTEK_FIRMWARE_WIRELESS}/lib/firmware
+ ${INSTALL_DIR} ${IDIR_REALTEK_FIRMWARE_WIRED}/lib/firmware
+ ${CP} ${WRKBUILD}/rtl_nic \
+ ${IDIR_REALTEK_FIRMWARE_WIRED}/lib/firmware
include ${ADK_TOPDIR}/mk/pkg-bottom.mk