summaryrefslogtreecommitdiff
path: root/package/rt61-firmware/Makefile
blob: 23ef2ae3eb495587ede78f7cb6b240791ab9b415 (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
# 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:=		rt61-firmware
PKG_VERSION:=		1
PKG_RELEASE:=		1
PKG_HASH:=		481f113c505ed186049287bd8e9ad8fcb8dbbb32f3bb718f04e4dc148b63c8e4
PKG_DESCR:=		firmware for rt61/rt2601 wireless cards
PKG_SECTION:=		sys/firmware
PKG_SITES:=		http://www.openadk.org/distfiles/

DISTFILES:=		RT61_Firmware_V1.2.zip
WRKDIST=		${WRKDIR}/RT61_Firmware_V1.2

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,RT61_FIRMWARE,rt61-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_RT61_FIRMWARE}/lib/firmware
	${CP} ${WRKBUILD}/rt2*.bin \
		${IDIR_RT61_FIRMWARE}/lib/firmware

include ${ADK_TOPDIR}/mk/pkg-bottom.mk