Skip to content

Commit

Permalink
microblaze: generate uapi header and system call table files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Firoz Khan authored and Michal Simek committed Nov 16, 2018
1 parent fc06bac commit 1e17ab5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 812 deletions.
3 changes: 3 additions & 0 deletions arch/microblaze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ all: linux.bin
archclean:
$(Q)$(MAKE) $(clean)=$(boot)

archheaders:
$(Q)$(MAKE) $(build)=arch/microblaze/kernel/syscalls all

linux.bin linux.bin.gz linux.bin.ub: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@

Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
generated-y += syscall_table.h
generic-y += barrier.h
generic-y += bitops.h
generic-y += bug.h
Expand Down
1 change: 1 addition & 0 deletions arch/microblaze/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

generated-y += unistd_32.h
generic-y += bitsperlong.h
generic-y += bpf_perf_event.h
generic-y += errno.h
Expand Down
Loading

0 comments on commit 1e17ab5

Please sign in to comment.