summaryrefslogtreecommitdiffstats
path: root/package/lvm2
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-21 15:55:43 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-23 20:34:55 +0100
commit3b5d95be8dfc8a23f4e4619686215a9c99a1a9a6 (patch)
tree5eb1beb4a874c44f273ce8209ab71c17f8047fb2 /package/lvm2
parente83529882b71cb8a2c6ba2c997308196a2857af0 (diff)
downloadbuildroot-novena-3b5d95be8dfc8a23f4e4619686215a9c99a1a9a6.tar.gz
buildroot-novena-3b5d95be8dfc8a23f4e4619686215a9c99a1a9a6.zip
lvm2: prevent dmsetup from being re-installed every time
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@free-electrons.com>
Diffstat (limited to 'package/lvm2')
-rw-r--r--package/lvm2/lvm2.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index d190be2f0..bc6f45872 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)