summaryrefslogtreecommitdiffstats
path: root/target/jffs2
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/jffs2
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/jffs2')
-rw-r--r--target/jffs2/jffs2root.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 5439c5a7a..7640e63b9 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -45,19 +45,19 @@ $(JFFS2_TARGET): host-fakeroot makedevs mtd-host
@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 $JFFS2_TARGET)
+ rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
touch $(STAGING_DIR)/.fakeroot.00000
- cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
- echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
+ cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
+ echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_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 $JFFS2_TARGET)
+ >> $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
# Use fakeroot so mkfs.jffs2 believes the previous fakery
echo "$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(BUILD_DIR)/root -o $(JFFS2_TARGET)" \
- >> $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
- chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
- $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
- -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $JFFS2_TARGET)
+ >> $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
+ chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
+ $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
+ -@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
@ls -l $(JFFS2_TARGET)
JFFS2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO)))