From: Eric Andersen Date: Tue, 4 Jul 2006 18:06:38 +0000 (-0000) Subject: try to avoid rebuild X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=050da8412ec28b63ab11af55ecef20b7e58cb09b;p=buildroot.git try to avoid rebuild --- diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 5a31bb7d24..d285e2ba09 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