Makefile 916 字节
Newer Older
1
TARGETS = breakpoints
2 3
TARGETS += cpu-hotplug
TARGETS += efivarfs
4
TARGETS += kcmp
5
TARGETS += memfd
6
TARGETS += memory-hotplug
7
TARGETS += mqueue
8
TARGETS += mount
9
TARGETS += net
10
TARGETS += ptrace
11
TARGETS += timers
12
TARGETS += vm
13
TARGETS += powerpc
14
TARGETS += user
15
TARGETS += sysctl
K
Kees Cook 已提交
16
TARGETS += firmware
17
TARGETS += ftrace
18
TARGETS += exec
19
TARGETS += size
20

21 22 23
TARGETS_HOTPLUG = cpu-hotplug
TARGETS_HOTPLUG += memory-hotplug

24 25 26 27 28
all:
	for TARGET in $(TARGETS); do \
		make -C $$TARGET; \
	done;

29
run_tests: all
30 31 32 33
	for TARGET in $(TARGETS); do \
		make -C $$TARGET run_tests; \
	done;

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
hotplug:
	for TARGET in $(TARGETS_HOTPLUG); do \
		make -C $$TARGET; \
	done;

run_hotplug: hotplug
	for TARGET in $(TARGETS_HOTPLUG); do \
		make -C $$TARGET run_full_test; \
	done;

clean_hotplug:
	for TARGET in $(TARGETS_HOTPLUG); do \
		make -C $$TARGET clean; \
	done;

49 50 51 52
clean:
	for TARGET in $(TARGETS); do \
		make -C $$TARGET clean; \
	done;