summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ipc/ipc-transport-qmss-test_git.bb
blob: bfedaf5bb6adc96e19961819824cae2e7f11ba5b (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
35
36
37
include ipc-transport-qmss.inc

PR = "${INC_PR}.0"

PACKAGE_ARCH = "${MACHINE_ARCH}"

DEPENDS = "ipc-transport-qmss ti-ipc"

#FILES_${PN}-test = "${bindir}/multiProcessTest_*.out"

CHOICELIST = "yes no"

DEVICELIST_k2hk-evm = "k2h k2k"
DEVICELIST_k2e-evm  = "k2e"
DEVICELIST_k2l-evm  = "k2l"

do_compile () {
#   Now build the test code
	for device in ${DEVICELIST}
	do
		for choice in ${CHOICELIST}
		do
			oe_runmake tests \
				IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \
				USEDYNAMIC_LIB="$choice" DEVICE="$device"
		done
	done
}

do_install () {
	for device in ${DEVICELIST}
	do
		oe_runmake installbin \
			INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
	done

}