summaryrefslogtreecommitdiffstats
path: root/target/cramfs/cramfs.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-21 01:23:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-21 01:23:35 +0000
commitb81bcbd229ca27eacccfb37f23a24270f199e358 (patch)
treeaf7264296f9d4ed34396e7f4414bf8efcb5399d3 /target/cramfs/cramfs.mk
parent70b5dc88924e5cdd3013573224965c1d840bd2f5 (diff)
downloadbuildroot-novena-b81bcbd229ca27eacccfb37f23a24270f199e358.tar.gz
buildroot-novena-b81bcbd229ca27eacccfb37f23a24270f199e358.zip
Alessio Massaro writes: The syntax $VAR_NAME is used in several places. The correct syntax is actually $(VAR_NAME)
Diffstat (limited to 'target/cramfs/cramfs.mk')
-rw-r--r--target/cramfs/cramfs.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk
index 7e8891676..0243de467 100644
--- a/target/cramfs/cramfs.mk
+++ b/target/cramfs/cramfs.mk
@@ -68,19 +68,19 @@ cramfsroot: host-fakeroot makedevs cramfs
@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 $CRAMFS_TARGET)
+ rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
touch $(STAGING_DIR)/.fakeroot.00000
- cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
- echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
+ cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
+ echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_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 $CRAMFS_TARGET)
+ >> $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
# Use fakeroot so mkcramfs believes the previous fakery
echo "$(CRAMFS_DIR)/mkcramfs -q $(CRAMFS_ENDIANNESS) " \
- "$(TARGET_DIR) $(CRAMFS_TARGET)" >> $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
- chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
- $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
- -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $CRAMFS_TARGET)
+ "$(TARGET_DIR) $(CRAMFS_TARGET)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
+ chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
+ $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
+ -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
cramfsroot-source: cramfs-source