mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
The previous changeset, e4f5949c44 ("tools: Add -Werror by default to all
tools/"), added "-Werror" to CFLAGS in tools/Rules.mk. Remove it from
everywhere else now it is duplicated.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
29 lines
487 B
Makefile
29 lines
487 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
.PHONY: all
|
|
all: afl-policy-fuzzer
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) -f -- *.o .*.d .*.d2 afl-policy-fuzzer
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|
|
$(RM) -f -- *~
|
|
|
|
.PHONY: install
|
|
install: all
|
|
|
|
.PHONY: uninstall
|
|
|
|
CFLAGS += $(CFLAGS_xeninclude) -D__XEN_TOOLS__
|
|
CFLAGS += $(APPEND_CFLAGS) -Og
|
|
|
|
vpath %.c ../../../xen/lib/x86
|
|
|
|
afl-policy-fuzzer: afl-policy-fuzzer.o msr.o cpuid.o
|
|
$(CC) $(CFLAGS) $^ -o $@
|
|
|
|
-include $(DEPS_INCLUDE)
|