From bfc42e6786167d6948bbceee7b82345738a960db Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Wed, 11 Feb 2015 03:28:08 +0000 Subject: iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver - Provides low level driver for TI iqn2 peripheral module - Supports k2l device Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-bsp/iqn2-lld/iqn2-lld.inc | 13 +++++++++++++ recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld.inc create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld_git.bb diff --git a/recipes-bsp/iqn2-lld/iqn2-lld.inc b/recipes-bsp/iqn2-lld/iqn2-lld.inc new file mode 100644 index 00000000..c5b15116 --- /dev/null +++ b/recipes-bsp/iqn2-lld/iqn2-lld.inc @@ -0,0 +1,13 @@ +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea" +LICENSE = "BSD-3-Clause" + +BRANCH = "master" +SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}" +# Following commit corresponds to DEV.IQN_LLD.01.00.00.05B +SRCREV = "ca35079f41d06259be39f992f55a9f815d305ef5" + +PV = "1.0.0.5" + +COMPATIBLE_MACHINE = "k2l-evm" + +S = "${WORKDIR}/git/ti/drv/iqn2" diff --git a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb new file mode 100644 index 00000000..19ffc053 --- /dev/null +++ b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "TI IQN2 peripheral module low level driver" + +DEPENDS = "common-csl-ip" + +include iqn2-lld.inc + +EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + oe_runmake clean + oe_runmake lib +} + +do_install () { + oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +} -- cgit v1.2.3-54-g00ecf