aboutsummaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-07-04 00:50:58 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-04 08:47:07 +0200
commit64cfa50789dada9469debc3cc85252fd467e81b7 (patch)
tree6da4ee88f8762921b16f4e4353e17b830577c536 /fs/ext2
parentef975b50636726e9bde28b0baa7a8715cbe971c0 (diff)
downloadbuildroot-64cfa50789dada9469debc3cc85252fd467e81b7.tar.gz
buildroot-64cfa50789dada9469debc3cc85252fd467e81b7.tar.bz2
fs/ext2: always pass the label option
... since passing an empty string is equivalent to not setting a label. And fix the syntax highlighting in some editors... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/ext2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index 3fc12d7499..6a35b33117 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -19,9 +19,9 @@ endif
# qstrip results in stripping consecutive spaces into a single one. So the
# variable is not qstrip-ed to preserve the integrity of the string value.
EXT2_LABEL := $(subst ",,$(BR2_TARGET_ROOTFS_EXT2_LABEL))
-ifneq ($(EXT2_LABEL),)
+#" Syntax highlighting... :-/ )
+
EXT2_OPTS += -l "$(EXT2_LABEL)"
-endif
ROOTFS_EXT2_DEPENDENCIES = host-mke2img