summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk
index 3a12db3676..703aeb6816 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -250,7 +250,7 @@ define Image/mkfs/squashfs
"$(call mkfs_target_dir,$(1))" > $@.fakeroot-script
echo "$(Image/mkfs/squashfs-common)" >> $@.fakeroot-script
chmod +x $@.fakeroot-script
- $(STAGING_DIR_HOST)/bin/fakeroot $@.fakeroot-script
+ $(FAKEROOT) "$@.fakeroot-script"
endef
else
define Image/mkfs/squashfs