summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-01-01 14:00:35 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-01-01 14:00:35 +0000
commit793ef739131ae645e954b720727670239970d6f7 (patch)
tree8e76536e21ed1e251550d489997c873102a2dd06
parent39c0548428fcd643b785cb29df11a803c898bf08 (diff)
* Bumped lvm2 to 2.02.43
- By default the build uses host ar/ranlib to generate the static lvm library used, force the target tools to be used instead
-rw-r--r--package/lvm2/lvm2.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index ba4f55057..8d81105c7 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -24,7 +24,7 @@
# USA
LVM2_BASEVER=2.02
-LVM2_PATCH=28
+LVM2_PATCH=43
LVM2_VERSION=$(LVM2_BASEVER).$(LVM2_PATCH)
LVM2_SOURCE:=LVM2.$(LVM2_VERSION).tgz
LVM2_SITE:=ftp://sources.redhat.com/pub/lvm2
@@ -62,14 +62,14 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked
touch $(LVM2_DIR)/.configured
$(LVM2_TARGET_SBINS): $(LVM2_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
- $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install
+ $(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
+ $(MAKE) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install
for binary in $(LVM2_SBIN); do echo $$binary; cp -a $(STAGING_DIR)/sbin/$$binary $(TARGET_DIR)/sbin; done
lvm2: uclibc dm $(LVM2_TARGET_SBINS)
lvm2-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LVM2_DIR) uninstall
+ $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) uninstall
-$(MAKE) -C $(LVM2_DIR) clean
lvm2-dirclean: