summaryrefslogtreecommitdiffstats
path: root/target/tar/tarroot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/tar/tarroot.mk')
-rw-r--r--target/tar/tarroot.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk
index b9d8923a6..2e1ab2cd1 100644
--- a/target/tar/tarroot.mk
+++ b/target/tar/tarroot.mk
@@ -40,7 +40,7 @@ endif
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
ifneq ($(TARGET_DEVICE_TABLE),)
# Use fakeroot to pretend to create all needed device nodes
- echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
+ echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
>> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
endif
# Use fakeroot so tar believes the previous fakery