ia64/xen-unstable

changeset 15769:d1f9652e35c3

Avoid new-fangled gnumake else-if syntax.
Declarative style is neater anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Aug 16 15:59:18 2007 +0100 (2007-08-16)
parents 0edecad52917
children cd511c380e03
files config/x86_32.mk
line diff
     1.1 --- a/config/x86_32.mk	Thu Aug 16 15:44:37 2007 +0100
     1.2 +++ b/config/x86_32.mk	Thu Aug 16 15:59:18 2007 +0100
     1.3 @@ -11,10 +11,6 @@ CFLAGS += -m32 -march=i686
     1.4  LIBDIR := lib
     1.5  
     1.6  # Use only if calling $(LD) directly.
     1.7 -ifeq ($(XEN_OS),OpenBSD)
     1.8 -LDFLAGS_DIRECT += -melf_i386_obsd
     1.9 -else ifeq ($(XEN_OS),FreeBSD)
    1.10 -LDFLAGS_DIRECT += -melf_i386_fbsd
    1.11 -else
    1.12 -LDFLAGS_DIRECT += -melf_i386
    1.13 -endif
    1.14 +LDFLAGS_DIRECT_OpenBSD = _obsd
    1.15 +LDFLAGS_DIRECT_FreeBSD = _fbsd
    1.16 +LDFLAGS_DIRECT += -melf_i386$(LDFLAGS_DIRECT_$(XEN_OS))