summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-18 05:56:05 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-10-18 05:56:05 +0000
commitc500802eaf421c1a385b5e1ea0e26e0d2dd8e0c2 (patch)
tree1d0b5fd73f32b55353fec2cf7fa2a23cc9f6c928 /package
parent5f9ba7cca576ace659f9da127c3a08e23a8ba922 (diff)
downloadbuildroot-novena-c500802eaf421c1a385b5e1ea0e26e0d2dd8e0c2.tar.gz
buildroot-novena-c500802eaf421c1a385b5e1ea0e26e0d2dd8e0c2.zip
Remove hyphen from images if empty rootfs suffix
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 4939a00fc..2586d4456 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)