X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fbuild%2FMakefile;h=de620950b153df339da5aa50ee7e4c4d4a0b8f57;hb=bc7e32ac62565b9f2aca07acdfa430aa3d444e8c;hp=96bd523f3615ecdaf12ecfbb9829d70ca4086fc2;hpb=106a034756e5cb2816a887702ea6f8a6a2c8beb9;p=palacios-OLD.git diff --git a/palacios/build/Makefile b/palacios/build/Makefile index 96bd523..de62095 100644 --- a/palacios/build/Makefile +++ b/palacios/build/Makefile @@ -187,6 +187,14 @@ 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 @@ -320,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) \ @@ -338,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- @@ -417,6 +434,7 @@ CC_GENERAL_OPTS = \ -I$(PROJECT_ROOT)/include \ -Werror \ -fPIC \ + -mno-red-zone \ -Wp,-MD,$(@D)/.$(@F).d \ -Wp,-MT,$@ \