mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c25104452d
Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-5dOevlybbwvbk3zTbcxrrqet@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
38 lines
557 B
Makefile
38 lines
557 B
Makefile
|
|
FILES= \
|
|
test-hello \
|
|
test-stackprotector-all \
|
|
test-stackprotector \
|
|
test-volatile-register-var \
|
|
test-libnuma
|
|
|
|
CC := $(CC) -MD
|
|
|
|
all: $(FILES)
|
|
|
|
BUILD = $(CC) -o $(OUTPUT)$@ $@.c
|
|
|
|
###############################
|
|
|
|
test-hello:
|
|
$(BUILD)
|
|
|
|
test-stackprotector-all:
|
|
$(BUILD) -Werror -fstack-protector-all
|
|
|
|
test-stackprotector:
|
|
$(BUILD) -Werror -fstack-protector
|
|
|
|
test-volatile-register-var:
|
|
$(BUILD) -Werror -Wvolatile-register-var
|
|
|
|
test-libnuma:
|
|
$(BUILD) -lnuma
|
|
|
|
-include *.d */*.d
|
|
|
|
###############################
|
|
|
|
clean:
|
|
rm -f $(FILES) *.d
|