Makefile (6073882cc1a8a0bcff840d6754f2f8205ba42342) Makefile (b34b98204ca44f6a0fdd5edd51d332f7d6c581fd)
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/tools/Makefile
4#
5# Copyright (C) 2001 Russell King
6#
7
8gen := arch/$(ARCH)/include/generated

--- 32 unchanged lines hidden (view full) ---

41quiet_cmd_syshdr = SYSHDR $@
42 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) \
43 --offset __NR_SYSCALL_BASE $< $@
44
45quiet_cmd_systbl = SYSTBL $@
46 cmd_systbl = $(CONFIG_SHELL) $(systbl) --abis $(abis) $< $@
47
48quiet_cmd_sysnr = SYSNR $@
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/tools/Makefile
4#
5# Copyright (C) 2001 Russell King
6#
7
8gen := arch/$(ARCH)/include/generated

--- 32 unchanged lines hidden (view full) ---

41quiet_cmd_syshdr = SYSHDR $@
42 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) \
43 --offset __NR_SYSCALL_BASE $< $@
44
45quiet_cmd_systbl = SYSTBL $@
46 cmd_systbl = $(CONFIG_SHELL) $(systbl) --abis $(abis) $< $@
47
48quiet_cmd_sysnr = SYSNR $@
49 cmd_sysnr = $(CONFIG_SHELL) '$(sysnr)' '$<' '$@' \
50 '$(syshdr_abi_$(basetarget))'
49 cmd_sysnr = $(CONFIG_SHELL) $(sysnr) $< $@
51
52$(uapi)/unistd-oabi.h: abis := common,oabi
53$(uapi)/unistd-oabi.h: $(syscall) $(syshdr) FORCE
54 $(call if_changed,syshdr)
55
56$(uapi)/unistd-eabi.h: abis := common,eabi
57$(uapi)/unistd-eabi.h: $(syscall) $(syshdr) FORCE
58 $(call if_changed,syshdr)
59
50
51$(uapi)/unistd-oabi.h: abis := common,oabi
52$(uapi)/unistd-oabi.h: $(syscall) $(syshdr) FORCE
53 $(call if_changed,syshdr)
54
55$(uapi)/unistd-eabi.h: abis := common,eabi
56$(uapi)/unistd-eabi.h: $(syscall) $(syshdr) FORCE
57 $(call if_changed,syshdr)
58
60sysnr_abi_unistd-nr := common,oabi,eabi,compat
61$(kapi)/unistd-nr.h: $(syscall) $(sysnr) FORCE
62 $(call if_changed,sysnr)
63
64$(gen)/calls-oabi.S: abis := common,oabi
65$(gen)/calls-oabi.S: $(syscall) $(systbl) FORCE
66 $(call if_changed,systbl)
67
68$(gen)/calls-eabi.S: abis := common,eabi
69$(gen)/calls-eabi.S: $(syscall) $(systbl) FORCE
70 $(call if_changed,systbl)
59$(kapi)/unistd-nr.h: $(syscall) $(sysnr) FORCE
60 $(call if_changed,sysnr)
61
62$(gen)/calls-oabi.S: abis := common,oabi
63$(gen)/calls-oabi.S: $(syscall) $(systbl) FORCE
64 $(call if_changed,systbl)
65
66$(gen)/calls-eabi.S: abis := common,eabi
67$(gen)/calls-eabi.S: $(syscall) $(systbl) FORCE
68 $(call if_changed,systbl)