Line | |
---|
1 | |
---|
2 | override XEN_TARGET_ARCH = x86_32 |
---|
3 | XEN_ROOT = ../../../../.. |
---|
4 | CFLAGS := |
---|
5 | include $(XEN_ROOT)/tools/Rules.mk |
---|
6 | |
---|
7 | TARGET = tcgbiosext.o |
---|
8 | FILES = tcgbios tpm_drivers |
---|
9 | OBJECTS = $(foreach f,$(FILES),$(f).o) |
---|
10 | |
---|
11 | CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib |
---|
12 | CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) |
---|
13 | CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) |
---|
14 | CFLAGS += -I../ -I../../ -DGCC_PROTOS |
---|
15 | |
---|
16 | .PHONY: all clean |
---|
17 | |
---|
18 | all: $(TARGET) |
---|
19 | |
---|
20 | clean: |
---|
21 | rm -rf *.o $(TARGET) |
---|
22 | |
---|
23 | $(TARGET): $(OBJECTS) |
---|
24 | $(LD) $(LDFLAGS_DIRECT) -r $^ -o $@ |
---|
Note: See
TracBrowser
for help on using the repository browser.