tools/perf/build: Split out feature check: 'volatile-register-var'
[linux-2.6-block.git] / tools / perf / config / feature-checks / Makefile
CommitLineData
b6aa9979 1
3ae069cf
IM
2FILES= \
3 test-hello \
90ac5422 4 test-stackprotector-all \
430be5ab 5 test-stackprotector \
c2510445 6 test-volatile-register-var \
3ae069cf 7 test-libnuma
b6aa9979 8
8b6eb56a
IM
9CC := $(CC) -MD
10
b6aa9979
IM
11all: $(FILES)
12
13BUILD = $(CC) -o $(OUTPUT)$@ $@.c
14
15###############################
16
8b6eb56a 17test-hello:
b6aa9979
IM
18 $(BUILD)
19
90ac5422
IM
20test-stackprotector-all:
21 $(BUILD) -Werror -fstack-protector-all
22
430be5ab
IM
23test-stackprotector:
24 $(BUILD) -Werror -fstack-protector
25
c2510445
IM
26test-volatile-register-var:
27 $(BUILD) -Werror -Wvolatile-register-var
28
3ae069cf
IM
29test-libnuma:
30 $(BUILD) -lnuma
31
8b6eb56a
IM
32-include *.d */*.d
33
b6aa9979
IM
34###############################
35
36clean:
8b6eb56a 37 rm -f $(FILES) *.d