Skip to content

Commit 44656fa

Browse files
daviddaneymichal42
authored andcommitted
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 <[email protected]> Signed-off-by: David Daney <[email protected]> Signed-off-by: Michal Marek <[email protected]>
1 parent 1ea6b8f commit 44656fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Kbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ always += missing-syscalls
9292
targets += missing-syscalls
9393

9494
quiet_cmd_syscalls = CALL $<
95-
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
95+
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
9696

9797
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
9898
$(call cmd,syscalls)

arch/mips/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ CLEAN_FILES += vmlinux.32 vmlinux.64
286286
archprepare:
287287
ifdef CONFIG_MIPS32_N32
288288
@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"
290290
endif
291291
ifdef CONFIG_MIPS32_O32
292292
@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"
294294
endif
295295

296296
install:

0 commit comments

Comments
 (0)