summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Kukard <nkukard@lbsd.net>2009-01-04 06:02:30 +0000
committerNigel Kukard <nkukard@lbsd.net>2009-01-04 06:02:30 +0000
commit7f6261dbfbb96760765f5df27e3c77fe4e58ed99 (patch)
tree93817113ff2a761bb9b4ee9e46de5260f03f4d65
parent96cb68c26f675e76a91e86c044f546cfff418851 (diff)
downloadbuildroot-novena-7f6261dbfbb96760765f5df27e3c77fe4e58ed99.tar.gz
buildroot-novena-7f6261dbfbb96760765f5df27e3c77fe4e58ed99.zip
We don't need to set CC, AR, RANLIB when installing and uninstalling
-rw-r--r--package/lvm2/lvm2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 0c1016b3e..6b7725bff 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: