summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pa-lld/pa-lld_git.bb
blob: f6de5b15698fbc51173892911bac7aa518023a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "TI PA LLD library"

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

include pa-lld.inc

PR = "${INC_PR}.1"

do_compile () {
#   Now build the lld in the updated directory
    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
    ln -sf ${LIBPA}.so.1.0.0 ${D}${libdir}/libpa_device.so.1
    ln -sf libpa_device.so.1 ${D}${libdir}/libpa_device.so
}