mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
For now, simply try to map 40 frames of grant table. This catches most of the basic errors with resource sizes found and fixed through the 4.15 dev window. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Release-Acked-by: Ian Jackson <iwj@xenproject.org>
41 lines
667 B
Makefile
41 lines
667 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
TARGET := test-resource
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
|
|
.PHONY: run
|
|
run: $(TARGET)
|
|
./$(TARGET)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) -f -- *.o $(TARGET) $(DEPS_RM)
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|
|
$(RM) -f -- *~
|
|
|
|
.PHONY: install
|
|
install: all
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
|
|
CFLAGS += -Werror
|
|
CFLAGS += $(CFLAGS_xeninclude)
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
CFLAGS += $(CFLAGS_libxenforeginmemory)
|
|
CFLAGS += $(APPEND_CFLAGS)
|
|
|
|
LDFLAGS += $(LDLIBS_libxenctrl)
|
|
LDFLAGS += $(LDLIBS_libxenforeignmemory)
|
|
LDFLAGS += $(APPEND_LDFLAGS)
|
|
|
|
test-resource: test-resource.o
|
|
$(CC) -o $@ $< $(LDFLAGS)
|
|
|
|
-include $(DEPS_INCLUDE)
|