Skip to contentSkip to conversation

am-sysinfo: add latest version from old arago

PATCH New Chase Maupin 1 participant 1 message Jan 31, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am-sysinfo: add latest version from old arago

* ported the latest version from the old arago overlay.
* Based on the am-sysinfo recipe from meta-texasinstruments which will be replaced by this recipe

---
 .../recipes-core/am-sysinfo/am-sysinfo_svn.bb      |   29 ++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/am-sysinfo/am-sysinfo_svn.bb
meta-arago-extras/recipes-core/am-sysinfo/am-sysinfo_svn.bb new file +29 -0
new file mode 100644
index 0000000..a5922dc
@@ -0,0 +1,29 @@
+DESCRIPTION = "AM SysInfo"
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_sysinfo/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://mem_util/mem_util.c;beginline=1;endline=37;md5=8aa8e714ab729cfe8177298af8a5a25d"
+
+SECTION = "system"
+
+PACKAGE_STRIP = no
+
+SRCREV = "16"
+PV = "1.0"
+PR = "r2+svnr${SRCPV}"
+
+SRC_URI = "svn://gforge.ti.com/svn/am_sysinfo/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+S = "${WORKDIR}/trunk"
+
+do_compile() {
+	${CC} ${CFLAGS} ${LDFLAGS} -o mem_util/mem_util mem_util/mem_util.c
+    ${CC} ${CFLAGS} ${LDFLAGS} -o oprofile_example/Debug/signal_parent oprofile_example/signal_parent.c
+    ${CC} ${CFLAGS} -DUSE_SIGNALS ${LDFLAGS} -o oprofile_example/Debug1/signal_parent.opt oprofile_example/signal_parent.c
+}
+
+do_install() {
+	install -d ${D}/${bindir}
+	install -m 0755 ${S}/mem_util/mem_util ${D}/${bindir}
+    install -m 0755 ${S}/oprofile_example/Debug/signal_parent ${D}/${bindir}
+    install -m 0755 ${S}/oprofile_example/Debug1/signal_parent.opt ${D}/${bindir}
+}
Signature · 1 line
1.7.0.4