From c500802eaf421c1a385b5e1ea0e26e0d2dd8e0c2 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Thu, 18 Oct 2007 05:56:05 +0000 Subject: [PATCH] Remove hyphen from images if empty rootfs suffix --- package/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/Makefile.in b/package/Makefile.in index 4939a00fcb..2586d44562 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -65,9 +65,12 @@ TARGET_CXXFLAGS=$(TARGET_CFLAGS) TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib endif ######################################################################### -ifeq ($(BR2_ROOTFS_SUFFIX),) +#ifeq ($(BR2_ROOTFS_SUFFIX),) +ROOTFS_SUFFIX:=$(strip $(subst ",, $(BR2_ROOTFS_SUFFIX))) +ifeq ($(ROOTFS_SUFFIX),) ROOTFS_SUFFIX:= else +XXXX=xxxx ROOTFS_SUFFIX:=-$(BR2_ROOTFS_SUFFIX) endif @@ -315,3 +318,5 @@ X11_PREFIX:=$(strip $(subst ",, $(BR2_X11_PREFIX))) include package/Makefile.autotools.in +package-status: + @echo IMAGE=$(IMAGE) -- 2.30.2