summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ipc/ipc-transport-srio-test_git.bb
blob: 866fc35cb50d74892e21a7c930881f4d30d75812 (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
include ipc-transport-srio.inc

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

DEVICELIST = "k2h k2k"

CHOICELIST = "yes no"

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

}