source: trunk/packages/xen-common/xen-common/tools/firmware/rombios/32bit/tcgbios/Makefile @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 529 bytes
Line 
1
2override XEN_TARGET_ARCH = x86_32
3XEN_ROOT = ../../../../..
4CFLAGS :=
5include $(XEN_ROOT)/tools/Rules.mk
6
7TARGET  = tcgbiosext.o
8FILES   = tcgbios tpm_drivers
9OBJECTS = $(foreach f,$(FILES),$(f).o)
10
11CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
12CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
13CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
14CFLAGS += -I../ -I../../ -DGCC_PROTOS
15
16.PHONY: all clean
17
18all: $(TARGET)
19
20clean:
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.