summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-07-04 18:06:38 +0000
committerEric Andersen <andersen@codepoet.org>2006-07-04 18:06:38 +0000
commit050da8412ec28b63ab11af55ecef20b7e58cb09b (patch)
tree388e8a8f5fab5f40301aae2becfa13a76fb34135
parent7c10b7696ed9976eec107b9040e9426eec04fbc3 (diff)
downloadbuildroot-novena-050da8412ec28b63ab11af55ecef20b7e58cb09b.tar.gz
buildroot-novena-050da8412ec28b63ab11af55ecef20b7e58cb09b.zip
try to avoid rebuild
-rw-r--r--package/sudo/sudo.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index 5a31bb7d2..d285e2ba0 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -52,11 +52,13 @@ $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
$(SUDO_DIR)/sudo: $(SUDO_DIR)/.configured
$(MAKE) -C $(SUDO_DIR)
+ touch -c $(SUDO_DIR)/sudo
$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
# Use fakeroot to pretend to do 'make install' as root
echo "$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR="$(TARGET_DIR)" -C $(SUDO_DIR) install" \
> $(STAGING_DIR)/.fakeroot.sudo
+ touch -c $(TARGET_DIR)/usr/bin/sudo
sudo: uclibc $(TARGET_DIR)/usr/bin/sudo