projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[deliverable/linux.git]
/
Kbuild
diff --git
a/Kbuild
b/Kbuild
index 0451f69353bad4d07de34fd4658f40b805bd467a..1570d248ad9237e4fa6e4d079336b9da62d9ba32 100644
(file)
--- a/
Kbuild
+++ b/
Kbuild
@@
-2,16
+2,18
@@
# Kbuild for top-level directory of the kernel
# This file takes care of the following:
# 1) Generate asm-offsets.h
# 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
#
#####
# 1) Generate asm-offsets.h
#
-offsets-file := include/asm-$(ARCH)/asm-offsets.h
+offsets-file := include/asm-$(
SRC
ARCH)/asm-offsets.h
always := $(offsets-file)
targets := $(offsets-file)
always := $(offsets-file)
targets := $(offsets-file)
-targets += arch/$(ARCH)/kernel/asm-offsets.s
+targets += arch/$(SRCARCH)/kernel/asm-offsets.s
+clean-files := $(addprefix $(objtree)/,$(targets))
# Default sed regexp - multiline due to syntax constraints
define sed-y
# Default sed regexp - multiline due to syntax constraints
define sed-y
@@
-38,11
+40,21
@@
define cmd_offsets
endef
# We use internal kbuild rules to avoid the "is up to date" message from make
endef
# We use internal kbuild rules to avoid the "is up to date" message from make
-arch/$(
ARCH)/kernel/asm-offsets.s: arch/$(
ARCH)/kernel/asm-offsets.c FORCE
+arch/$(
SRCARCH)/kernel/asm-offsets.s: arch/$(SRC
ARCH)/kernel/asm-offsets.c FORCE
$(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
$(Q)mkdir -p $(dir $@)
$(call if_changed_dep,cc_s_c)
-$(obj)/$(offsets-file): arch/$(ARCH)/kernel/asm-offsets.s Kbuild
+$(obj)/$(offsets-file): arch/$(
SRC
ARCH)/kernel/asm-offsets.s Kbuild
$(Q)mkdir -p $(dir $@)
$(call cmd,offsets)
$(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)
This page took
0.023597 seconds
and
5
git commands to generate.