Skip to content
This repository
Browse code

kbuild: Fix missing system calls check on mips.

Commit 5f7efb4 (Kbuild: append missing-syscalls to the default target
list) broke MIPS build.

Reported-tested-and-acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information...
commit 44656fa03926e7363ab41c565619800a4b3b1322 1 parent 1ea6b8f
David Daney authored michal42 committed

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  Kbuild
  2. +2 2 arch/mips/Makefile
2  Kbuild
@@ -92,7 +92,7 @@ always += missing-syscalls
92 92 targets += missing-syscalls
93 93
94 94 quiet_cmd_syscalls = CALL $<
95   - cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
  95 + cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
96 96
97 97 missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
98 98 $(call cmd,syscalls)
4 arch/mips/Makefile
@@ -286,11 +286,11 @@ CLEAN_FILES += vmlinux.32 vmlinux.64
286 286 archprepare:
287 287 ifdef CONFIG_MIPS32_N32
288 288 @echo ' Checking missing-syscalls for N32'
289   - $(Q)$(MAKE) $(build)=. missing-syscalls ccflags-y="-mabi=n32"
  289 + $(Q)$(MAKE) $(build)=. missing-syscalls missing_syscalls_flags="-mabi=n32"
290 290 endif
291 291 ifdef CONFIG_MIPS32_O32
292 292 @echo ' Checking missing-syscalls for O32'
293   - $(Q)$(MAKE) $(build)=. missing-syscalls ccflags-y="-mabi=32"
  293 + $(Q)$(MAKE) $(build)=. missing-syscalls missing_syscalls_flags="-mabi=32"
294 294 endif
295 295
296 296 install:

0 comments on commit 44656fa

Please sign in to comment.
Something went wrong with that request. Please try again.