Remove hyphen from images if empty rootfs suffix
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 18 Oct 2007 05:56:05 +0000 (05:56 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 18 Oct 2007 05:56:05 +0000 (05:56 -0000)
package/Makefile.in

index 4939a00fcba4391fbed5d0f6b5b6bc522de4520f..2586d445629a00666d1967bfad3378a113ea8f68 100644 (file)
@@ -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)