From: Nigel Kukard Date: Sun, 4 Jan 2009 06:02:30 +0000 (-0000) Subject: We don't need to set CC, AR, RANLIB when installing and uninstalling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f6261dbfbb96760765f5df27e3c77fe4e58ed99;p=buildroot.git We don't need to set CC, AR, RANLIB when installing and uninstalling --- 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: