From 793ef739131ae645e954b720727670239970d6f7 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Thu, 1 Jan 2009 14:00:35 +0000 Subject: [PATCH] * 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 --- package/lvm2/lvm2.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index ba4f55057e..8d81105c7a 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: -- 2.30.2