summaryrefslogtreecommitdiff
path: root/package/lvm2/lvm2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/lvm2/lvm2.mk')
-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: