Skip to content

Commit

Permalink
alpha: 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 alpha to use scripts/syscallhdr.sh.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed Apr 24, 2021
1 parent b186f2c commit 14b36dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
7 changes: 2 additions & 5 deletions arch/alpha/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/alpha/kernel/syscalls/syscallhdr.sh

This file was deleted.

0 comments on commit 14b36dc

Please sign in to comment.