summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2007-01-04 13:21:47 +0000
committerTomas Frydrych <tf@openedhand.com>2007-01-04 13:21:47 +0000
commit30daacb76f4fc4a297c98a53e2971698685a8d39 (patch)
tree17930d198ca091560d25ae7f112b347fd70c4816
parent09b777e81a72fbc0873d0bb18dacfcef13c172b3 (diff)
downloadopenembedded-core-30daacb76f4fc4a297c98a53e2971698685a8d39.tar.gz
openembedded-core-30daacb76f4fc4a297c98a53e2971698685a8d39.tar.bz2
openembedded-core-30daacb76f4fc4a297c98a53e2971698685a8d39.tar.xz
openembedded-core-30daacb76f4fc4a297c98a53e2971698685a8d39.zip
splitexmap into exmap-console, exmap-server and kernel-module-exmap packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1115 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/exmap-console/exmap-console_svn.bb27
1 files changed, 24 insertions, 3 deletions
diff --git a/meta/packages/exmap-console/exmap-console_svn.bb b/meta/packages/exmap-console/exmap-console_svn.bb
index 0243f990d..9773164fd 100644
--- a/meta/packages/exmap-console/exmap-console_svn.bb
+++ b/meta/packages/exmap-console/exmap-console_svn.bb
@@ -2,8 +2,16 @@ DESCRIPTION = "console-based exmap"
HOMEPAGE = "http://www.o-hand.com"
SECTION = "devel"
LICENSE = "GPL"
-PR = "r7"
-PV = "0.3.1+svn${SRCDATE}"
+PR = "r8"
+SRCDATE=20070105
+
+# HACK -- I want the kernel module version label to include both the
+# exmap pacakge version and the kernel version, but it is not possible
+# to use ${PV} in the definition of PV_kernel-module-exmap (complains
+# about recursion, hence $MYPV
+
+PV = "0.4+svn${SRCDATE}"
+MYPV = "0.4+svn${SRCDATE}"
SRC_URI = \
"svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http"
@@ -11,6 +19,20 @@ SRC_URI = \
inherit module-base
inherit autotools
+PACKAGES += "exmap-server kernel-module-exmap"
+
+FILES_${PN}= "${sbindir}"
+PACKAGE_ARCH_exmap-console = "${TARGET_ARCH}"
+RDEPENDS_exmap-console = "kernel-module-exmap"
+
+FILES_exmap-server = "${bindir}"
+PACKAGE_ARCH_exmap-server = "${TARGET_ARCH}"
+RDEPENDS_exmap-server = "kernel-module-exmap"
+
+FILES_kernel-module-exmap = "${base_libdir}"
+PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}"
+PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}"
+
S = "${WORKDIR}/exmap-console"
export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}"
@@ -28,4 +50,3 @@ do_compile() {
${MAKE_TARGETS}
}
-FILES_${PN}="${sbindir} ${base_libdir}"