aboutsummaryrefslogtreecommitdiffstats
path: root/target/romfs/romfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/romfs/romfs.mk')
-rw-r--r--target/romfs/romfs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/romfs/romfs.mk b/target/romfs/romfs.mk
index 52caca752..d28705503 100644
--- a/target/romfs/romfs.mk
+++ b/target/romfs/romfs.mk
@@ -52,7 +52,7 @@ endif
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(ROMFS_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 $(ROMFS_TARGET))
endif
# Use fakeroot so genromfs believes the previous fakery