- use DESTDIR for install. Thanks to Stuart Longland. Closes #926
This commit is contained in:
parent
ba7d905b54
commit
405aadb356
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user