Skip to content

Commit

Permalink
sh: syscalls: switch to generic syscallhdr.sh
Browse files Browse the repository at this point in the history
Many architectures duplicate similar shell scripts.

This commit converts sh to use scripts/syscallhdr.sh.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed May 1, 2021
1 parent 9c19722 commit eb61114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
7 changes: 2 additions & 5 deletions arch/sh/kernel/syscalls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ _dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
$(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')

syscall := $(src)/syscall.tbl
syshdr := $(srctree)/$(src)/syscallhdr.sh
syshdr := $(srctree)/scripts/syscallhdr.sh
systbl := $(srctree)/scripts/syscalltbl.sh

quiet_cmd_syshdr = SYSHDR $@
cmd_syshdr = $(CONFIG_SHELL) '$(syshdr)' '$<' '$@' \
'$(syshdr_abis_$(basetarget))' \
'$(syshdr_pfx_$(basetarget))' \
'$(syshdr_offset_$(basetarget))'
cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --emit-nr $< $@

quiet_cmd_systbl = SYSTBL $@
cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@
Expand Down
36 changes: 0 additions & 36 deletions arch/sh/kernel/syscalls/syscallhdr.sh

This file was deleted.

0 comments on commit eb61114

Please sign in to comment.