All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ti-transportnetlib-ipsecmgr: provides ti-ipsecmgr for ti KeyStone devices
@ 2014-05-16 18:49 Aravind Batni
  2014-05-16 18:54 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Aravind Batni @ 2014-05-16 18:49 UTC (permalink / raw)
  To: meta-arago; +Cc: Aravind Batni

- TI ipsecmgr library collections

Signed-off-by: Aravind Batni <aravindbr@ti.com>
---
 .../ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb |   52 ++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb

diff --git a/meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb b/meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb
new file mode 100644
index 0000000..7a73c3f
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb
@@ -0,0 +1,52 @@
+DESCRIPTION = "IPSec Manager"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM = "file://ipsecmgr_snoop.h;md5=9ac68c91483a0ab7a9b1fb79622f2487" 
+
+BRANCH="master"
+SRC_URI = "git://arago-project.org/git/projects/ipsecmgr.git;protocol=git;branch=${BRANCH}"
+#Commit ID corresponding to DEV.IPSECMGR.01.00.00.01
+SRCREV = "fa51fbd4ad849627e02f2404edfa5be44043551a"
+PR     = "r0"
+PV     = "01.00.00.01"
+
+DEPENDS = "virtual/kernel"
+DEPENDS += "libnl-xfrm"
+
+ALLOW_EMPTY_${PN} = "1"
+ 
+S = "${WORKDIR}/git"
+LIB_BUILD_DIR = "${S}/build"
+MODULE_BUILD_DIR = "${S}/src/module"
+LIB_INC_DIR = "${S}/"
+UTILS_LIB_INC_DIR = "${S}/utils/iface/"
+
+inherit module
+
+MACHINE_KERNEL_PR_append = "a"
+
+do_compile() {
+    cd ${LIB_BUILD_DIR}
+    make clean;
+    make all;
+
+    unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+    cd ${MODULE_BUILD_DIR}
+    make KDIR="${STAGING_KERNEL_DIR}" clean
+    make KDIR="${STAGING_KERNEL_DIR}"
+}
+
+do_install() {
+    install -d ${D}${libdir}/
+    install -c -m 666 ${LIB_BUILD_DIR}/libipsecmgr_snoop.a ${D}${libdir}/
+    install -c -m 666 ${LIB_BUILD_DIR}/libipsecmgr_ipc.a ${D}${libdir}/
+    install -c -m 666 ${LIB_BUILD_DIR}/libipsecmgr_syslog.a ${D}${libdir}/
+    install -d ${D}${includedir}/
+    install -c -m 666 ${LIB_INC_DIR}/*.h ${D}${includedir}/
+    install -c -m 666 ${UTILS_LIB_INC_DIR}/*.h ${D}${includedir}/
+
+    cd ${MODULE_BUILD_DIR}
+    make KDIR="${STAGING_KERNEL_DIR}" INSTALL_MOD_PATH="${D}" install
+}
+
+PACKAGE_STRIP = "no"
+
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-16 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 18:49 [PATCH] ti-transportnetlib-ipsecmgr: provides ti-ipsecmgr for ti KeyStone devices Aravind Batni
2014-05-16 18:54 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.