summaryrefslogtreecommitdiff
path: root/package/sudo
diff options
context:
space:
mode:
Diffstat (limited to 'package/sudo')
-rw-r--r--package/sudo/sudo.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index 368054d50..bf7ce4655 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -17,7 +17,6 @@ sudo-source: $(DL_DIR)/$(SUDO_SOURCE) $(SUDO_CONFIG_FILE)
$(SUDO_DIR)/.unpacked: $(DL_DIR)/$(SUDO_SOURCE)
$(SUDO_UNZIP) $(DL_DIR)/$(SUDO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- # Allow sudo patches.
toolchain/patch-kernel.sh $(SUDO_DIR) package/sudo sudo\*.patch
touch $(SUDO_DIR)/.unpacked
@@ -60,7 +59,7 @@ $(TARGET_DIR)/usr/bin/sudo: $(SUDO_DIR)/sudo
> $(STAGING_DIR)/.fakeroot.sudo
touch -c $(TARGET_DIR)/usr/bin/sudo
-sudo: uclibc $(TARGET_DIR)/usr/bin/sudo
+sudo: uclibc host-fakeroot $(TARGET_DIR)/usr/bin/sudo
sudo-clean:
rm -f $(TARGET_DIR)/usr/bin/sudo