aboutsummaryrefslogtreecommitdiff
path: root/target/squashfs
diff options
context:
space:
mode:
authorGravatar Mike Frysinger <vapier@gentoo.org>2006-04-21 01:23:35 +0000
committerGravatar Mike Frysinger <vapier@gentoo.org>2006-04-21 01:23:35 +0000
commitb81bcbd229ca27eacccfb37f23a24270f199e358 (patch)
treeaf7264296f9d4ed34396e7f4414bf8efcb5399d3 /target/squashfs
parent70b5dc88924e5cdd3013573224965c1d840bd2f5 (diff)
downloadbuildroot-b81bcbd229ca27eacccfb37f23a24270f199e358.tar.gz
buildroot-b81bcbd229ca27eacccfb37f23a24270f199e358.tar.bz2
Alessio Massaro writes: The syntax $VAR_NAME is used in several places. The correct syntax is actually $(VAR_NAME)
Diffstat (limited to 'target/squashfs')
-rw-r--r--target/squashfs/squashfsroot.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk
index e8ba543940..7a650f8144 100644
--- a/target/squashfs/squashfsroot.mk
+++ b/target/squashfs/squashfsroot.mk
@@ -61,21 +61,21 @@ squashfsroot: host-fakeroot makedevs squashfs
@rm -rf $(TARGET_DIR)/usr/info
-/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null
# Use fakeroot to pretend all target binaries are owned by root
- rm -f $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
+ rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
touch $(STAGING_DIR)/.fakeroot.00000
- cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
- echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
+ cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
+ echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
# Use fakeroot to pretend to create all needed device nodes
echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
- >> $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
+ >> $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
# Use fakeroot so mksquashfs believes the previous fakery
echo "$(SQUASHFS_DIR)/squashfs-tools/mksquashfs " \
"$(TARGET_DIR) $(SQUASHFS_TARGET) " \
"-noappend $(SQUASHFS_ENDIANNESS)" \
- >> $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
- chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
- $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
- -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $SQUASHFS_TARGET)
+ >> $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
+ chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
+ $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
+ -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
squashfsroot-source: squashfs-source