diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-03-27 16:50:29 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-02 14:58:09 -0400 |
commit | c53aeca059c4d2108335810fba6ba89ab6a944dd (patch) | |
tree | 18815815389d29385eda852851eac1e1fe7d4e0d /Makefile | |
parent | ded2e1640ffaee26c054a42e5210c1086fb1d8eb (diff) |
kbuild: complain about missing system calls
Most system calls seems to get added to i386 first. This patch
automatically generates a warning for any new system call which is
implemented on i386 but not the architecture currently being compiled.
On PowerPC at the moment, for example, it results in these warnings:
init/missing_syscalls.h:935:3: warning: #warning syscall sync_file_range not implemented
init/missing_syscalls.h:947:3: warning: #warning syscall getcpu not implemented
init/missing_syscalls.h:950:3: warning: #warning syscall epoll_pwait not implemented
The file scripts/checksyscalls.sh list a number of legacy system calls
that are ignored because they only makes sense on i386 systems.
Other contributors to this patch are Russell King <rmk+lkml@arm.linux.org.uk>
and Stéphane Jourdois <kwisatz@rubis.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -856,6 +856,7 @@ archprepare: prepare1 scripts_basic | |||
856 | 856 | ||
857 | prepare0: archprepare FORCE | 857 | prepare0: archprepare FORCE |
858 | $(Q)$(MAKE) $(build)=. | 858 | $(Q)$(MAKE) $(build)=. |
859 | $(Q)$(MAKE) $(build)=. missing-syscalls | ||
859 | 860 | ||
860 | # All the preparing.. | 861 | # All the preparing.. |
861 | prepare: prepare0 | 862 | prepare: prepare0 |