Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.21-git16 /Kbuild

Filename:/Kbuild
Lines Added:11
Lines Deleted:0
Also changed in: (Previous) 2.6.21-git15  2.6.21-git14  2.6.21-git13  2.6.21-git12  2.6.21-git11  2.6.21-git10 
(Following) 2.6.21-git17  2.6.22-rc1  2.6.22-rc2  2.6.22-rc3  2.6.22-rc4  2.6.22-rc5 

Location
[  2.6.21-git16
   o  Kbuild

Patch

diff --git a/Kbuild b/Kbuild
index 0451f69..163f8cb 100644
--- a/Kbuild
+++ b/Kbuild
@@ -2,6 +2,7 @@
 # Kbuild for top-level directory of the kernel
 # This file takes care of the following:
 # 1) Generate asm-offsets.h
+# 2) Check for missing system calls
 
 #####
 # 1) Generate asm-offsets.h
@@ -46,3 +47,13 @@ $(obj)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild
    $(Q)mkdir -p $(dir $@)
    $(call cmd,offsets)
 
+#####
+# 2) Check for missing system calls
+#
+
+quiet_cmd_syscalls = CALL    $<
+      cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
+
+PHONY += missing-syscalls
+missing-syscalls: scripts/checksyscalls.sh FORCE
+   $(call cmd,syscalls)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.