summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2013-11-06 23:12:33 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-10 23:34:14 (GMT)
commit4df9ecb30ae64aab0e65f0dbbb2b60749c536db3 (patch)
tree2dfdca7b4b54ef4029ac9f360438843453aba502
parentbd8ef7a01c0db004334cd48ce798e6aab5bd34df (diff)
downloadbuildroot-4df9ecb30ae64aab0e65f0dbbb2b60749c536db3.tar.gz
buildroot-4df9ecb30ae64aab0e65f0dbbb2b60749c536db3.tar.bz2
rootfs-ext2: symlink with the compressed rootfs
Previously, a symlink was created to the uncompressed filesystem, which made it a bit useless in case compression was chosen. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--fs/ext2/ext2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index b4280aa..0af955f 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -28,7 +28,7 @@ define ROOTFS_EXT2_CMD
endef
rootfs-ext2-symlink:
- ln -sf rootfs.ext2 $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN)
+ ln -sf rootfs.ext2$(ROOTFS_EXT2_COMPRESS_EXT) $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN)$(ROOTFS_EXT2_COMPRESS_EXT)
ifneq ($(BR2_TARGET_ROOTFS_EXT2_GEN),2)
ROOTFS_EXT2_POST_TARGETS += rootfs-ext2-symlink