mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
1ea6b8f489
commit
44656fa039
2 changed files with 3 additions and 3 deletions
2
Kbuild
2
Kbuild
|
@ -92,7 +92,7 @@ always += missing-syscalls
|
||||||
targets += missing-syscalls
|
targets += missing-syscalls
|
||||||
|
|
||||||
quiet_cmd_syscalls = CALL $<
|
quiet_cmd_syscalls = CALL $<
|
||||||
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
|
cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags) $(missing_syscalls_flags)
|
||||||
|
|
||||||
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
|
missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
|
||||||
$(call cmd,syscalls)
|
$(call cmd,syscalls)
|
||||||
|
|
|
@ -286,11 +286,11 @@ CLEAN_FILES += vmlinux.32 vmlinux.64
|
||||||
archprepare:
|
archprepare:
|
||||||
ifdef CONFIG_MIPS32_N32
|
ifdef CONFIG_MIPS32_N32
|
||||||
@echo ' Checking missing-syscalls for N32'
|
@echo ' Checking missing-syscalls for N32'
|
||||||
$(Q)$(MAKE) $(build)=. missing-syscalls ccflags-y="-mabi=n32"
|
$(Q)$(MAKE) $(build)=. missing-syscalls missing_syscalls_flags="-mabi=n32"
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_MIPS32_O32
|
ifdef CONFIG_MIPS32_O32
|
||||||
@echo ' Checking missing-syscalls for O32'
|
@echo ' Checking missing-syscalls for O32'
|
||||||
$(Q)$(MAKE) $(build)=. missing-syscalls ccflags-y="-mabi=32"
|
$(Q)$(MAKE) $(build)=. missing-syscalls missing_syscalls_flags="-mabi=32"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in a new issue