diff options
Diffstat (limited to 'arch/x86/syscalls')
-rw-r--r-- | arch/x86/syscalls/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/syscalls/Makefile b/arch/x86/syscalls/Makefile index 8051c3134ad1..3236aebc828d 100644 --- a/arch/x86/syscalls/Makefile +++ b/arch/x86/syscalls/Makefile | |||
@@ -35,6 +35,11 @@ syshdr_abi_unistd_64 := common,64 | |||
35 | $(out)/unistd_64.h: $(syscall64) $(syshdr) | 35 | $(out)/unistd_64.h: $(syscall64) $(syshdr) |
36 | $(call if_changed,syshdr) | 36 | $(call if_changed,syshdr) |
37 | 37 | ||
38 | syshdr_abi_unistd_64_x32 := x32 | ||
39 | syshdr_pfx_unistd_64_x32 := x32_ | ||
40 | $(out)/unistd_64_x32.h: $(syscall64) $(syshdr) | ||
41 | $(call if_changed,syshdr) | ||
42 | |||
38 | $(out)/syscalls_32.h: $(syscall32) $(systbl) | 43 | $(out)/syscalls_32.h: $(syscall32) $(systbl) |
39 | $(call if_changed,systbl) | 44 | $(call if_changed,systbl) |
40 | $(out)/syscalls_64.h: $(syscall64) $(systbl) | 45 | $(out)/syscalls_64.h: $(syscall64) $(systbl) |
@@ -42,7 +47,7 @@ $(out)/syscalls_64.h: $(syscall64) $(systbl) | |||
42 | 47 | ||
43 | syshdr-y += unistd_32.h unistd_64.h unistd_x32.h | 48 | syshdr-y += unistd_32.h unistd_64.h unistd_x32.h |
44 | syshdr-y += syscalls_32.h | 49 | syshdr-y += syscalls_32.h |
45 | syshdr-$(CONFIG_X86_64) += unistd_32_ia32.h | 50 | syshdr-$(CONFIG_X86_64) += unistd_32_ia32.h unistd_64_x32.h |
46 | syshdr-$(CONFIG_X86_64) += syscalls_64.h | 51 | syshdr-$(CONFIG_X86_64) += syscalls_64.h |
47 | 52 | ||
48 | targets += $(syshdr-y) | 53 | targets += $(syshdr-y) |