aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lvm2/lvm2.inc
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2010-07-20 08:44:54 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2010-08-16 15:51:55 +0200
commitaefe7a444c34231892653702b622e6e94760bd7b (patch)
treea000b14940dba68c0644cf2aa3d92b074ca8cf36 /recipes/lvm2/lvm2.inc
parent57f89c7392a5643c656321b65c1086534a1c80ec (diff)
downloadopenembedded-aefe7a444c34231892653702b622e6e94760bd7b.tar.gz
lvm2: rebase all recipes on a global lvm2.inc recipe
This rebases all specific versions of lvm2 on a global recipe lvm2.inc which defines the common parameters for building lvm2. Staging is overwritten as we don't need any of the executables or manpages the build of lvm2 produces for any related builds. Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'recipes/lvm2/lvm2.inc')
-rw-r--r--recipes/lvm2/lvm2.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/lvm2/lvm2.inc b/recipes/lvm2/lvm2.inc
new file mode 100644
index 0000000000..a7e37b5eb2
--- /dev/null
+++ b/recipes/lvm2/lvm2.inc
@@ -0,0 +1,20 @@
+SECTION = "utils"
+DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
+LICENSE = "GPL"
+DEPENDS = "device-mapper"
+INC_PR = "r2"
+
+S = "${WORKDIR}/LVM2.${PV}"
+SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
+ file://crosscompile_fix.patch"
+
+# Unset user/group to unbreak install.
+EXTRA_OECONF = "--with-user= --with-group= --disable-o_direct"
+EXTRA_OECONF_arm = "--with-user= --with-group= --disable-o_direct"
+
+inherit autotools
+
+# We don't need to stage anything (the executables are no needed at build time by any
+# other recipe)
+do_stage() {
+}