mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
19 lines
375 B
Makefile
19 lines
375 B
Makefile
# Firmware is a 32-bit target
|
|
override XEN_TARGET_ARCH = x86_32
|
|
|
|
# User-supplied CFLAGS are not useful here.
|
|
CFLAGS =
|
|
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
ifneq ($(debug),y)
|
|
CFLAGS += -DNDEBUG
|
|
endif
|
|
|
|
CFLAGS += -Werror
|
|
|
|
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
|
|
|
# Extra CFLAGS suitable for an embedded type of environment.
|
|
CFLAGS += -fno-builtin -msoft-float
|