diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb')
-rw-r--r-- | bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb b/bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb new file mode 100644 index 00000000..6ac72cfa --- /dev/null +++ b/bsp/meta-ti/recipes-bsp/cppi-lld/cppi-lld_git.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "TI CPPI Module low level driver" + +DEPENDS = "common-csl-ip rm-lld qmss-lld" + +include cppi-lld.inc + +PR = "${INC_PR}.1" + +do_compile () { +# Now build the lld in the updated directory + 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} + chown -R root:root ${D} + +# 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 libcppi_${device}.so.1.0.0 libcppi_device.so.1 + break + done + ln -sf libcppi_device.so.1 libcppi_device.so +} |