svn commit: trunk/buildroot/package
Author: ulf
Date: 2007-10-17 22:56:05 -0700 (Wed, 17 Oct 2007) New Revision: 20279
Log:
Remove hyphen from images if empty rootfs suffix
Modified:
trunk/buildroot/package/Makefile.in
Changeset:
Modified: trunk/buildroot/package/Makefile.in
===================================================================
buildroot/package/Makefile.in +6 -1
@@ -65,9 +65,12 @@ 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 @@ include package/Makefile.autotools.in +package-status: + @echo IMAGE=$(IMAGE)