summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:26:10 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:26:10 +0000
commit9cbf08c55a6e7886fa7158bd27a6ab79aba36f5a (patch)
tree11b4b11931ebce25a3b9421c86cb3d3fd33c1ad7
parent23092c4a4a0c4bcd7fca894ed22bc15d03f7a37b (diff)
downloadbuildroot-novena-9cbf08c55a6e7886fa7158bd27a6ab79aba36f5a.tar.gz
buildroot-novena-9cbf08c55a6e7886fa7158bd27a6ab79aba36f5a.zip
cleanup sudo makefile
-rw-r--r--package/sudo/sudo.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index b67c50dd0..e0c7815fe 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -19,7 +19,7 @@ $(SUDO_DIR)/.unpacked: $(DL_DIR)/$(SUDO_SOURCE)
$(SUDO_UNZIP) $(DL_DIR)/$(SUDO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(SUDO_DIR) package/sudo sudo\*.patch
$(CONFIG_UPDATE) $(SUDO_DIR)
- touch $(SUDO_DIR)/.unpacked
+ touch $@
$(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
(cd $(SUDO_DIR); rm -rf config.cache; \
@@ -50,11 +50,11 @@ $(SUDO_DIR)/.configured: $(SUDO_DIR)/.unpacked $(SUDO_CONFIG_FILE)
$(SUDO_EXTRA_CONFIG) \
)
- touch $(SUDO_DIR)/.configured
+ touch $@
$(SUDO_DIR)/sudo: $(SUDO_DIR)/.configured
$(MAKE) -C $(SUDO_DIR)
- touch -c $(SUDO_DIR)/sudo
+ touch -c $@
$(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
$(INSTALL) -m 4555 -D $(SUDO_DIR)/sudo $(TARGET_DIR)/usr/bin/sudo