summaryrefslogtreecommitdiff
path: root/meta/packages/exmap-console
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2006-10-25 15:05:14 +0000
committerTomas Frydrych <tf@openedhand.com>2006-10-25 15:05:14 +0000
commit27144173261f45a335822aef2358b0124529913b (patch)
treef42d80a4d0f7714e7d87ce11150ac70564ce6ac1 /meta/packages/exmap-console
parent3ed8f6903cf48898373a7846b760a5d46709abd3 (diff)
downloadopenembedded-core-27144173261f45a335822aef2358b0124529913b.tar.gz
openembedded-core-27144173261f45a335822aef2358b0124529913b.tar.bz2
openembedded-core-27144173261f45a335822aef2358b0124529913b.zip
added bb file for exmap-console application
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@818 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/exmap-console')
-rw-r--r--meta/packages/exmap-console/exmap_console.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/packages/exmap-console/exmap_console.bb b/meta/packages/exmap-console/exmap_console.bb
new file mode 100644
index 0000000000..b5329cb9e3
--- /dev/null
+++ b/meta/packages/exmap-console/exmap_console.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "console-based exmap"
+HOMEPAGE = "http://www.o-hand.com"
+SECTION = "devel"
+LICENSE = "GPL"
+PR = "r1"
+SRC_DATE=20061026
+
+SRC_URI = \
+ "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http"
+
+inherit module-base
+
+S = "${WORKDIR}/exmap-console"
+
+export KERNEL_PATH=${STAGING_KERNEL_DIR}
+
+do_compile() {
+ cd ${S}/src
+ make
+
+ cd ${S}/kernel
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+ oe_runmake KERNEL_PATH=${STAGING_KERNEL_DIR} \
+ KERNEL_SRC=${STAGING_KERNEL_DIR} \
+ KERNEL_VERSION=${KERNEL_VERSION} \
+ CC="${KERNEL_CC}" LD="${KERNEL_LD}" \
+ ${MAKE_TARGETS}
+}
+
+sbindir="/usr/sbin"
+
+do_install() {
+ install -d ${D}${sbindir}
+ install -m 710 ${S}/src/exmap ${D}${sbindir}/exmap
+
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc
+ install -m 644 ${S}/kernel/exmap${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/
+}
+
+PACKAGES = "exmap-console"
+FILES_exmap-console = "${sbindir}/ /lib/modules/${KERNEL_VERSION}/misc/"