debuggers.hg

view tools/firmware/rombios/32bit/tcgbios/Makefile @ 13683:4dd3266e13a7

[TCGBIOS] Fix some makefile issues.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kaf24@localhost.localdomain
date Fri Jan 26 16:46:00 2007 +0000 (2007-01-26)
parents c07326324f8d
children aae5932afc6d
line source
2 override XEN_TARGET_ARCH = x86_32
3 XEN_ROOT = ../../../../..
4 CFLAGS :=
5 include $(XEN_ROOT)/tools/Rules.mk
7 TARGET = tcgbiosext.o
8 FILES = tcgbios tpm_drivers
9 OBJECTS = $(foreach f,$(FILES),$(f).o)
11 CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
12 CFLAGS += -I../ -I../../
14 .PHONY: all clean
16 all: $(TARGET)
18 clean:
19 rm -rf *.o $(TARGET)
21 $(TARGET): $(OBJECTS)
22 ld $(LDFLAGS_DIRECT) -r $^ -o $@