[Buildroot] [PATCH 33/40] lvm2: prevent dmsetup from being re-installed every time
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Feb 23 20:06:57 UTC 2010
After being copied to target/, touch dmsetup so that its date is newer
than the .built stamp file in lvm2 source directory. This prevents
make from re-installing dmsetup every time.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/lvm2/lvm2.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index d190be2..bc6f458 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -86,9 +86,11 @@ $(LVM2_DIR)/.built: $(LVM2_DIR)/.configured
$(LVM2_TARGET_SBINS) $(LVM2_TARGET_DMSETUP_SBINS): $(LVM2_DIR)/.built
cp -a $(STAGING_DIR)/sbin/$(notdir $@) $@
+ touch $@
$(LVM2_TARGET_LIBS): $(LVM2_DIR)/.built
cp -a $(STAGING_DIR)/lib/$(notdir $@) $@
+ touch $@
ifeq ($(BR2_PACKAGE_LVM2_DMSETUP_ONLY),y)
--
1.6.3.3
More information about the buildroot
mailing list