ia64/xen-unstable

view tools/firmware/rombios/32bit/Makefile @ 19079:f3240cd3cd2b

rombios: Indirect through 32-bit jump table from within the 32-bit bios.

This gets rid of shenanigans with relocating the jump table around the
place.

Also clean up bios_info table while we are updating it.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jan 23 14:32:41 2009 +0000 (2009-01-23)
parents 8de0aae803e0
children
line source
1 XEN_ROOT = ../../../..
2 include $(XEN_ROOT)/tools/firmware/Rules.mk
4 TARGET = 32bitbios_flat.h
6 CFLAGS += $(CFLAGS_include) -I..
8 SUBDIRS = tcgbios
10 .PHONY: all
11 all: subdirs-all
12 $(MAKE) $(TARGET)
14 .PHONY: clean
15 clean: subdirs-clean
16 rm -rf *.o $(TARGET) $(DEPS)
18 $(TARGET): 32bitbios_all.o
19 sh mkhex highbios_array 32bitbios_all.o > $@
21 32bitbios_all.o: 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o
22 $(LD) $(LDFLAGS_DIRECT) -s -r $^ -o 32bitbios_all.o
23 @nm 32bitbios_all.o | \
24 egrep '^ +U ' >/dev/null && { \
25 echo "There are undefined symbols in the BIOS:"; \
26 nm -u 32bitbios_all.o; \
27 exit 11; \
28 } || :
30 -include $(DEPS)