mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-22 12:39:02 +00:00
* Extend compatibility to k2g-evm * Simplify compile and install tasks as "TARGET" is no longer needed. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
26 lines
585 B
BlitzBasic
26 lines
585 B
BlitzBasic
DESCRIPTION = "TI ICSS-EMAC low level driver library"
|
|
|
|
DEPENDS="common-csl-ip pruss-lld osal"
|
|
|
|
include icss-emac-lld.inc
|
|
|
|
PR = "${INC_PR}.0"
|
|
|
|
TARGET_NAME_am57xx-evm = "SOC_AM572x"
|
|
TARGET_NAME_ti33x = "SOC_AM335x"
|
|
TARGET_NAME_ti43x = "SOC_AM437x"
|
|
TARGET_NAME_k2g-evm = "SOC_K2G"
|
|
|
|
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} TARGET=${TARGET_NAME}"
|
|
|
|
do_compile () {
|
|
# Build the lib
|
|
oe_runmake clean
|
|
oe_runmake lib
|
|
}
|
|
|
|
do_install () {
|
|
# Install the lib
|
|
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
|
}
|