From: Yann E. MORIN Date: Mon, 3 Jul 2017 22:50:58 +0000 (+0200) Subject: fs/ext2: always pass the label option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64cfa50789dada9469debc3cc85252fd467e81b7;p=buildroot.git 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" Signed-off-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- 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