diff -r f70b728ea30c -r a1925fb7753a sbsv2/raptor/lib/flm/flmtools.mk --- a/sbsv2/raptor/lib/flm/flmtools.mk Wed Jul 28 13:20:46 2010 +0100 +++ b/sbsv2/raptor/lib/flm/flmtools.mk Thu Aug 12 09:00:16 2010 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). # All rights reserved. # This component and the accompanying materials are made available # under the terms of the License "Eclipse Public License v1.0" @@ -88,7 +88,7 @@ # A macro for removing duplicate tokens from a list # whilst retaining the list's order define uniq -$(if $(1),$(info $(words $(1)) $(1))\ +$(if $(1),\ $(firstword $(1))$(call uniq,$(filter-out $(firstword $(1)),$(wordlist 2,$(words $(1)),$(1))))\ ,) endef