summaryrefslogtreecommitdiffstats
path: root/recipes-tools/rcw/rcw_git.bb
blob: 1bb0b17e0eb1fb3031db19ddeb32017e647c4c4a (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
34
DESCRIPTION = "Reset Control Words (RCW)"
SECTION = "rcw"
LICENSE = "BSD"
PR = "r1"

LIC_FILES_CHKSUM = " \
	file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
	file://p3041ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
	file://p3060qds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
	file://p4080ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
	file://p5020ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \
"

# this package is specific to the machine itself
INHIBIT_DEFAULT_DEPS = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit deploy

SRCREV = "${AUTOREV}"
SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git"

S = "${WORKDIR}/git"

do_deploy () {
	make install

	M=`echo ${MACHINE} | sed s/-64b//g`
	mkdir -p ${DEPLOY_DIR_IMAGE}/rcw
	cp -r ${S}/${M}/${M} ${DEPLOY_DIR_IMAGE}/rcw
}
addtask deploy after do_install

ALLOW_EMPTY_${PN} = "1"