[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Avoid new-fangled gnumake else-if syntax.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1187276358 -3600
# Node ID d1f9652e35c37f6a305f2d2b7f04ab2334d70d62
# Parent  0edecad52917cfc9392858d2b2602e64e5f31a55
Avoid new-fangled gnumake else-if syntax.
Declarative style is neater anyway.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 config/x86_32.mk |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff -r 0edecad52917 -r d1f9652e35c3 config/x86_32.mk
--- a/config/x86_32.mk  Thu Aug 16 15:44:37 2007 +0100
+++ b/config/x86_32.mk  Thu Aug 16 15:59:18 2007 +0100
@@ -11,10 +11,6 @@ LIBDIR := lib
 LIBDIR := lib
 
 # Use only if calling $(LD) directly.
-ifeq ($(XEN_OS),OpenBSD)
-LDFLAGS_DIRECT += -melf_i386_obsd
-else ifeq ($(XEN_OS),FreeBSD)
-LDFLAGS_DIRECT += -melf_i386_fbsd
-else
-LDFLAGS_DIRECT += -melf_i386
-endif
+LDFLAGS_DIRECT_OpenBSD = _obsd
+LDFLAGS_DIRECT_FreeBSD = _fbsd
+LDFLAGS_DIRECT += -melf_i386$(LDFLAGS_DIRECT_$(XEN_OS))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.