From: Bernhard Reutner-Fischer Date: Thu, 21 Dec 2006 11:57:35 +0000 (-0000) Subject: - use DESTDIR for install. Thanks to Stuart Longland. Closes #926 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=405aadb356f830cb995b4fff11b1b85d8738697b;p=buildroot.git - use DESTDIR for install. Thanks to Stuart Longland. Closes #926 --- diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 113af69579..2760fc7dcc 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -56,7 +56,7 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked $(LVM2_TARGET_SBINS): $(LVM2_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) - $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) install prefix=$(STAGING_DIR) exec_prefix=$(STAGING_DIR) + $(MAKE) CC=$(TARGET_CC) -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)