aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pa-lld/pa-lld-test_git.bb
blob: 62ec12224431465c7c48f4f0239dd26762c02486 (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
DESCRIPTION = "TI PA LLD unit test and example binaries"

DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld"

include pa-lld.inc

PR = "${INC_PR}.1"

CHOICELIST = "yes no"

do_compile () {
# Now build the lld unit test examples
	for device in ${DEVICELIST}
	do
	make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
		for choice in ${CHOICELIST}
		do
			make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
		done
	done
}

do_install () {
	for device in ${DEVICELIST}
	do
		make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
	done
}