Skip to content

Commit 64f416c

Browse files
masahir0yMichal Simek
authored andcommitted
microblaze: syscalls: switch to generic syscallhdr.sh
Many architectures duplicate similar shell scripts. This commit converts microblaze to use scripts/syscallhdr.sh. Signed-off-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
1 parent ce37212 commit 64f416c

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

arch/microblaze/kernel/syscalls/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ _dummy := $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)') \
66
$(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)')
77

88
syscall := $(src)/syscall.tbl
9-
syshdr := $(srctree)/$(src)/syscallhdr.sh
9+
syshdr := $(srctree)/scripts/syscallhdr.sh
1010
systbl := $(srctree)/scripts/syscalltbl.sh
1111

1212
quiet_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 $< $@
1714

1815
quiet_cmd_systbl = SYSTBL $@
1916
cmd_systbl = $(CONFIG_SHELL) $(systbl) $< $@

arch/microblaze/kernel/syscalls/syscallhdr.sh

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)