1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 03:49:20 +00:00
Files
Jacob Stiffler f01c8007f5 qmss-lld: Only build binaries relevent to the machine
* Due to this change, the init script is no longer needed

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2015-11-04 09:59:48 -05:00

33 lines
826 B
BlitzBasic

DESCRIPTION = "TI QMSS low level driver library"
DEPENDS="common-csl-ip rm-lld"
include qmss-lld.inc
PR = "${INC_PR}.1"
do_compile () {
# Now build the lld
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
for device in ${DEVICELIST}
do
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
done
}
do_install () {
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
# Set the generic device library symbolic link to default k2h
cd ${D}${libdir}
# Link only the first device in the list
for device in ${DEVICELIST}
do
ln -sf libqmss_${device}.so.1.0.0 libqmss_device.so.1
break
done
ln -sf libqmss_device.so.1 libqmss_device.so
}