]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - Kbuild
powerpc/powernv: Update OPAL interfaces
[karo-tx-linux.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index 2114113ceca2801770c57ac07c78fff2b0b8a477..b8b708ad6dc3815eb0d23bfea2c972d03b9477c0 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -88,11 +88,13 @@ $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s Kbuild
 # 3) Check for missing system calls
 #
 
+always += missing-syscalls
+targets += missing-syscalls
+
 quiet_cmd_syscalls = CALL    $<
-      cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
+      cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
 
-PHONY += missing-syscalls
-missing-syscalls: scripts/checksyscalls.sh FORCE
+missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
        $(call cmd,syscalls)
 
 # Keep these two files during make clean