summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/sa-lld/sa-lld_git.bb
blob: d92ad1cf8ce18425a5e886eb4428b56a25ac5298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Library"

DEPENDS = "common-csl-ip"

include sa-lld.inc

PR = "${INC_PR}.0"

do_compile () {
#   Now build the lld in the updated directory
	make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
}

do_install () {
	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
	chown -R root:root ${D}

#   Set the generic device library symbolic link
	ln -sf libsa.so.1.0.0 ${D}${libdir}/libsa_device.so.1
	ln -sf libsa_device.so.1 ${D}${libdir}/libsa_device.so
}