summaryrefslogtreecommitdiff
path: root/package/realtek-firmware/Makefile
blob: cb26094eb997e25e65127cd12467d9790ef1b1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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:=		realtek-firmware
PKG_VERSION:=		1.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		32b82d463f8742e094ed53a4820424c6
PKG_DESCR:=		firmware for realtek wired and wireless cards
PKG_SECTION:=		sys/firmware
PKG_SITES:=		http://www.openadk.org/distfiles/

PKG_SUBPKGS:=		REALTEK_FIRMWARE_WIRELESS REALTEK_FIRMWARE_WIRED

include ${ADK_TOPDIR}/mk/package.mk

$(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_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