X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fbuild%2FMakefile;h=de620950b153df339da5aa50ee7e4c4d4a0b8f57;hb=cc6a2b14d3fdebb1c705b251e8818fa401786956;hp=992dcfea5b891ea80c47722aee2b00126aa45ad3;hpb=1dbd6d179c681dbce107af39c4089d1aa13a714d;p=palacios-OLD.git diff --git a/palacios/build/Makefile b/palacios/build/Makefile index 992dcfe..de62095 100644 --- a/palacios/build/Makefile +++ b/palacios/build/Makefile @@ -179,6 +179,22 @@ DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_HALT endif endif +ifeq ($(DEBUG_APIC),1) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_APIC +else +ifeq ($(DEBUG_APIC),0) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_APIC +endif +endif + +ifeq ($(DEBUG_PCI),1) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_PCI +else +ifeq ($(DEBUG_PCI),0) +DEBUG_SECTIONS := $(DEBUG_SECTIONS) -UDEBUG_PCI +endif +endif + ifeq ($(DEBUG_DEV_MGR),1) DEBUG_SECTIONS := $(DEBUG_SECTIONS) -DDEBUG_DEV_MGR else @@ -312,6 +328,10 @@ DEVICES_OBJS := \ devices/os_debug.o \ devices/apic.o \ devices/io_apic.o \ + devices/pci.o \ + devices/para_net.o \ + +# devices/vnic.o \ $(DEVICES_OBJS) :: EXTRA_CFLAGS = \ $(JRLDEBUG) \ @@ -330,6 +350,11 @@ V3_ARCH := __V3_32BIT__ endif +ifeq ($(CRAY_XT),1) +EXTRA_C_OPTS := $(EXTRA_C_OPTS) -DCRAY_XT +endif + + # Uncomment if cross compiling #TARGET_CC_PREFIX := $(PROJECT_ROOT)/../devtools/i386/bin/i386-elf- #TARGET_CC_PREFIX := i386-elf- @@ -409,6 +434,7 @@ CC_GENERAL_OPTS = \ -I$(PROJECT_ROOT)/include \ -Werror \ -fPIC \ + -mno-red-zone \ -Wp,-MD,$(@D)/.$(@F).d \ -Wp,-MT,$@ \