diff options
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -2,6 +2,7 @@ | |||
2 | # Kbuild for top-level directory of the kernel | 2 | # Kbuild for top-level directory of the kernel |
3 | # This file takes care of the following: | 3 | # This file takes care of the following: |
4 | # 1) Generate asm-offsets.h | 4 | # 1) Generate asm-offsets.h |
5 | # 2) Check for missing system calls | ||
5 | 6 | ||
6 | ##### | 7 | ##### |
7 | # 1) Generate asm-offsets.h | 8 | # 1) Generate asm-offsets.h |
@@ -46,3 +47,13 @@ $(obj)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild | |||
46 | $(Q)mkdir -p $(dir $@) | 47 | $(Q)mkdir -p $(dir $@) |
47 | $(call cmd,offsets) | 48 | $(call cmd,offsets) |
48 | 49 | ||
50 | ##### | ||
51 | # 2) Check for missing system calls | ||
52 | # | ||
53 | |||
54 | quiet_cmd_syscalls = CALL $< | ||
55 | cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) | ||
56 | |||
57 | PHONY += missing-syscalls | ||
58 | missing-syscalls: scripts/checksyscalls.sh FORCE | ||
59 | $(call cmd,syscalls) | ||