mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Renamed from the slightly ambiguous CFLAGS_include. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
31 lines
774 B
Makefile
31 lines
774 B
Makefile
XEN_ROOT = $(CURDIR)/../../../..
|
|
include $(XEN_ROOT)/tools/firmware/Rules.mk
|
|
|
|
TARGET = 32bitbios_flat.h
|
|
|
|
CFLAGS += $(CFLAGS_xeninclude) -I..
|
|
|
|
SUBDIRS = tcgbios
|
|
|
|
.PHONY: all
|
|
all: subdirs-all
|
|
$(MAKE) $(TARGET)
|
|
|
|
.PHONY: clean
|
|
clean: subdirs-clean
|
|
rm -rf *.o $(TARGET) $(DEPS)
|
|
|
|
$(TARGET): 32bitbios_all.o
|
|
sh mkhex highbios_array 32bitbios_all.o > $@
|
|
|
|
32bitbios_all.o: 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o
|
|
$(LD) $(LDFLAGS_DIRECT) -s -r $^ -o 32bitbios_all.o
|
|
@nm 32bitbios_all.o | \
|
|
egrep '^ +U ' >/dev/null && { \
|
|
echo "There are undefined symbols in the BIOS:"; \
|
|
nm -u 32bitbios_all.o; \
|
|
exit 11; \
|
|
} || :
|
|
|
|
-include $(DEPS)
|