X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile.inc;h=b5e8811370c5c66df39b0d9f8c168234b3a09ad7;hb=8c5b58e7c372d0c1666931040e35fef92ad56c4b;hp=81d40df84477e3b2231573ae56efcbf908cb8065;hpb=3bbd2bfa1c2343c6f28e7a1935c485848340116e;p=coreboot.git diff --git a/Makefile.inc b/Makefile.inc index 81d40df84..b5e881137 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -43,7 +43,6 @@ subdirs-y += src/northbridge src/superio src/drivers src/cpu src/vendorcode subdirs-y += util/cbfstool util/sconfig util/nvramtool subdirs-y += src/arch/$(ARCHDIR-y) subdirs-y += src/mainboard/$(MAINBOARDDIR) -subdirs-y += src/vendorcode subdirs-$(CONFIG_ARCH_X86) += src/pc80 @@ -62,6 +61,11 @@ endif smm-c-ccopts:=-D__SMM__ smm-S-ccopts:=-D__SMM__ +# SMM TSEG base is dynamic +ifeq ($(CONFIG_SMM_TSEG),y) +smm-c-ccopts += -fpic +endif + ramstage-c-deps:=$$(OPTION_TABLE_H) romstage-c-deps:=$$(OPTION_TABLE_H)