From: Ulf Samuelsson Date: Thu, 18 Oct 2007 05:56:05 +0000 (-0000) Subject: Remove hyphen from images if empty rootfs suffix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c500802eaf421c1a385b5e1ea0e26e0d2dd8e0c2;p=buildroot.git Remove hyphen from images if empty rootfs suffix --- 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)