Makefile (b186f2c3d877de82c7960bdac5145e69dcfe110d) Makefile (14b36dcfd640a69ed657a0c3085f7c3853d83569)
1# SPDX-License-Identifier: GPL-2.0
2kapi := arch/$(SRCARCH)/include/generated/asm
3uapi := arch/$(SRCARCH)/include/generated/uapi/asm
4
5_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
6 $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')
7
8syscall := $(src)/syscall.tbl
1# SPDX-License-Identifier: GPL-2.0
2kapi := arch/$(SRCARCH)/include/generated/asm
3uapi := arch/$(SRCARCH)/include/generated/uapi/asm
4
5_dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
6 $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')
7
8syscall := $(src)/syscall.tbl
9syshdr := $(srctree)/$(src)/syscallhdr.sh
9syshdr := $(srctree)/scripts/syscallhdr.sh
10systbl := $(srctree)/scripts/syscalltbl.sh
11
12quiet_cmd_syshdr = SYSHDR $@
10systbl := $(srctree)/scripts/syscalltbl.sh
11
12quiet_cmd_syshdr = SYSHDR $@
13 cmd_syshdr = $(CONFIG_SHELL) '$(syshdr)' '$<' '$@' \
14 '$(syshdr_abis_$(basetarget))' \
15 '$(syshdr_pfx_$(basetarget))' \
16 '$(syshdr_offset_$(basetarget))'
13 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@
17
18quiet_cmd_systbl = SYSTBL $@
19 cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@
20
21$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE
22 $(call if_changed,syshdr)
23
24$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE

--- 12 unchanged lines hidden ---
14
15quiet_cmd_systbl = SYSTBL $@
16 cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@
17
18$(uapi)/unistd_32.h: $(syscall) $(syshdr) FORCE
19 $(call if_changed,syshdr)
20
21$(kapi)/syscall_table.h: $(syscall) $(systbl) FORCE

--- 12 unchanged lines hidden ---