From: Samuel Martin Date: Tue, 4 Jul 2017 00:50:58 +0200 Subject: [Buildroot] [PATCH v3 03/11] fs/ext2: always pass the label option In-Reply-To: <20170703225106.1492-1-s.martin49@gmail.com> References: <20170703225106.1492-1-s.martin49@gmail.com> Message-ID: <20170703225106.1492-4-s.martin49@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: "Yann E. MORIN" ... 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 --- changes v2->v3: - none changes v1->v2: - rebase --- fs/ext2/ext2.mk | 4 ++-- 1 file 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 -- 2.13.2