summaryrefslogtreecommitdiffstats
path: root/fs/common.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-18 22:31:43 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-18 22:31:43 +0200
commit50f8d922941ac1c7f62162bf674ebf980452ed86 (patch)
tree75d5e0f1fd84925d0a19a353892e36a3bd3a2106 /fs/common.mk
parent4ab6883ac5aa07ea1c317d85c92495b155cf214a (diff)
parent525ac766cd795c4f7f721e7b940e3ebce99e8ebc (diff)
downloadbuildroot-novena-50f8d922941ac1c7f62162bf674ebf980452ed86.tar.gz
buildroot-novena-50f8d922941ac1c7f62162bf674ebf980452ed86.zip
Merge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'fs/common.mk')
-rw-r--r--fs/common.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/common.mk b/fs/common.mk
index fa6afd94d..cc94eb4ef 100644
--- a/fs/common.mk
+++ b/fs/common.mk
@@ -28,6 +28,7 @@
# macro will automatically generate a compressed filesystem image.
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
+ROOTFS_DEVICE_TABLE = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
define ROOTFS_TARGET_INTERNAL
@@ -38,8 +39,8 @@ $(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs
touch $(BUILD_DIR)/.fakeroot.00000
cat $(BUILD_DIR)/.fakeroot* > $(FAKEROOT_SCRIPT)
echo "chown -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
-ifneq ($(TARGET_DEVICE_TABLE),)
- echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
+ifneq ($(ROOTFS_DEVICE_TABLE),)
+ echo "$(HOST_DIR)/usr/bin/makedevs -d $(ROOTFS_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
endif
echo "$(ROOTFS_$(2)_CMD)" >> $(FAKEROOT_SCRIPT)
chmod a+x $(FAKEROOT_SCRIPT)