blob: da3e35750770554d7be4c44b084cc6ea31058216 (
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
|
DESCRIPTION = "TI SRIO peripheral low level driver unit test and example binaries"
COMPATIBLE_MACHINE = "keystone"
DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem"
include srio-lld.inc
PR = "${INC_PR}.0"
CHOICELIST = "yes no"
do_compile () {
# Now build the lld in the updated directory
for device in ${DEVICELIST}
do
oe_runmake clean DEVICE="$device" SRIO_SRC_DIR=${S}
for choice in ${CHOICELIST}
do
oe_runmake tests DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
oe_runmake examples DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake installbin DEVICE="$device" SRIO_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
done
}
|