From 7f6261dbfbb96760765f5df27e3c77fe4e58ed99 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Sun, 4 Jan 2009 06:02:30 +0000 Subject: [PATCH] We don't need to set CC, AR, RANLIB when installing and uninstalling --- package/lvm2/lvm2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 0c1016b3ef..6b7725bffc 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -63,13 +63,13 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked $(LVM2_TARGET_SBINS): $(LVM2_DIR)/.configured $(MAKE1) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) - $(MAKE1) CC=$(TARGET_CC) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install + $(MAKE1) -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) RANLIB=$(TARGET_RANLIB) AR=$(TARGET_AR) -C $(LVM2_DIR) uninstall + $(MAKE) DESTDIR=$(TARGET_DIR) -C $(LVM2_DIR) uninstall -$(MAKE) -C $(LVM2_DIR) clean lvm2-dirclean: -- 2.30.2