Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58623
b: refs/heads/master
c: e48ce6b
h: refs/heads/master
i:
  58621: 466035e
  58619: ee31d12
  58615: 255064d
  58607: a8f42e7
  58591: 0e5f7a5
  58559: 89c71c7
  58495: fa21fd3
  58367: a5b0452
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 10, 2007
1 parent f2676b2 commit 0637571
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7eb079fc8e68899fd099ad0b5b8095193a8c025
refs/heads/master: e48ce6b8df5b51af3f38b20bb3d008dff69ff64e
32 changes: 10 additions & 22 deletions trunk/arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -702,32 +702,20 @@ vmlinux.srec: $(vmlinux-32)
CLEAN_FILES += vmlinux.ecoff \
vmlinux.srec

archprepare:
ifdef CONFIG_MIPS32_N32
@echo ' Checking missing-syscalls for N32'
$(Q)$(MAKE) $(build)=. missing-syscalls EXTRA_CFLAGS="-mabi=n32"
endif
ifdef CONFIG_MIPS32_O32
@echo ' Checking missing-syscalls for O32'
$(Q)$(MAKE) $(build)=. missing-syscalls EXTRA_CFLAGS="-mabi=32"
endif

archclean:
@$(MAKE) $(clean)=arch/mips/boot
@$(MAKE) $(clean)=arch/mips/lasat

CLEAN_FILES += vmlinux.32 \
vmlinux.64 \
vmlinux.ecoff

quiet_cmd_syscalls_n32 = CALL-N32 $<
cmd_syscalls_n32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=n32

quiet_cmd_syscalls_o32 = CALL-O32 $<
cmd_syscalls_o32 = $(CONFIG_SHELL) $< $(CC) $(c_flags) -mabi=32

PHONY += missing-syscalls-n32 missing-syscalls-o32

missing-syscalls-n32: scripts/checksyscalls.sh FORCE
$(call cmd,syscalls_n32)

missing-syscalls-o32: scripts/checksyscalls.sh FORCE
$(call cmd,syscalls_o32)

archprepare:
ifdef CONFIG_MIPS32_N32
$(Q)$(MAKE) $(build)=arch/mips missing-syscalls-n32
endif
ifdef CONFIG_MIPS32_O32
$(Q)$(MAKE) $(build)=arch/mips missing-syscalls-o32
endif

0 comments on commit 0637571

Please sign in to comment.