summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
blob: 31b69c2603bd372ae550a3316a09c653c0f97c77 (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
include hyplnk-lld.inc

PR = "${INC_PR}.0"

DEPENDS = "common-csl-ip hyplnk-lld"

do_compile () {
	make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
		HYPLNK_SRC_DIR="${S}"
	for device in ${DEVICELIST}
	do
		make -f makefile_armv7 tests examples \
			PDK_INSTALL_PATH="${STAGING_INCDIR}" \
			DEVICE="$device" HYPLNK_SRC_DIR="${S}"
	done
}

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