Skip to contentSkip to conversation

ti-transportnetlib-ipsecmgr: provides ti-ipsecmgr for ti KeyStone devices

PATCH In review Aravind Batni 2 participants 2 messages May 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-transportnetlib-ipsecmgr: provides ti-ipsecmgr for ti KeyStone devices

- TI ipsecmgr library collections

---
 .../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
meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb new file +52 -0
new file mode 100644
index 0000000..7a73c3f
@@ -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"
+
Signature · 1 line
1.7.9.5
#1 lore raw

Aravind,

Please stop submitting new recipes. They are very similar to each other and full of errors and non-conformities.

Let's start with ti- prefix for all of them and dumping everything into recipes-bsp directory...

Signature · 1 line
Denys
Quoted 73 lines · Aravind Batni

- TI ipsecmgr library collections

---
 .../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
meta-arago-extras/recipes-bsp/ti-ipsecmgr/ti-transportnetlib-ipsecmgr_git.bb new file +52 -0
new file mode 100644
index 0000000..7a73c3f
@@ -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"
+
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago