From cc009898e2184ab8d04c4af8748e719bc0bd63a6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 4 Jul 2014 14:55:52 +0200 Subject: add support for wired realtek cards, which require firmware, too --- package/realtek-firmware/Makefile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'package/realtek-firmware/Makefile') 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 -- cgit v1.2.3