mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
No longer override target arch with ARCH but instead use TARGET_ARCH. Xen now requires specification of TARGET_ARCH alone, not TARGET_ARCH and TARGET_SUBARCH. Xen derives correct internal ARCH/SUBARCH components automatically.
16 lines
347 B
Makefile
16 lines
347 B
Makefile
# -*- mode: Makefile; -*-
|
|
|
|
XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
|
|
XEN_LIBXC = $(XEN_ROOT)/tools/libxc
|
|
XEN_LIBXUTIL = $(XEN_ROOT)/tools/libxutil
|
|
|
|
ifeq ($(TARGET_ARCH),x86_32)
|
|
CFLAGS += -m32 -march=i686
|
|
LDFLAGS += -m elf_i386
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH),x86_64)
|
|
CFLAGS += -m64
|
|
LDFLAGS += -m elf_x86_64
|
|
endif
|