Skip to content

Commit 1e17ab5

Browse files
Firoz KhanMichal Simek
authored andcommitted
microblaze: generate uapi header and system call table files
System call table generation script must be run to gener- ate unistd_32.h and syscall_table.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32.h and syscall_table.h files by the syscall table generation script invoked by microblaze/Makefile and the generated files against the removed files must be identical. The generated uapi header file will be included in uapi/- asm/unistd.h and generated system call table header file will be included by kernel/syscall_table.S file. Signed-off-by: Firoz Khan <firoz.khan@linaro.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
1 parent fc06bac commit 1e17ab5

File tree

5 files changed

+10
-812
lines changed

5 files changed

+10
-812
lines changed

arch/microblaze/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ all: linux.bin
7979
archclean:
8080
$(Q)$(MAKE) $(clean)=$(boot)
8181

82+
archheaders:
83+
$(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all
84+
8285
linux.bin linux.bin.gz linux.bin.ub: vmlinux
8386
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
8487

arch/microblaze/include/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
generated-y += syscall_table.h
12
generic-y += barrier.h
23
generic-y += bitops.h
34
generic-y += bug.h

arch/microblaze/include/uapi/asm/Kbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# UAPI Header export list
22
include include/uapi/asm-generic/Kbuild.asm
33

4+
generated-y += unistd_32.h
45
generic-y += bitsperlong.h
56
generic-y += bpf_perf_event.h
67
generic-y += errno.h

0 commit comments

Comments
 (0)