summaryrefslogtreecommitdiff
path: root/drivers/soc/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-26 15:19:48 +0200
committerArnd Bergmann <arnd@arndb.de>2024-07-10 14:23:38 +0200
commitfbb5c0606fa4506e9085e7a62c9e0098e573ce7a (patch)
treebcda5bc650528a4870d4feaff6bba11e85f1742e /drivers/soc/Makefile
parentb70f12e962bc73a091a7b853f24ae2049613c684 (diff)
kbuild: add syscall table generation to scripts/Makefile.asm-headers
There are 11 copies of arch/*/kernel/syscalls/Makefile that all implement the same basic logic in a somewhat awkward way. I tried out various ways of unifying the existing copies and ended up with something that hooks into the logic for generating the redirections to asm-generic headers. This gives a nicer syntax of being able to list the generated files in $(syscall-y) inside of arch/*/include/asm/Kbuild instead of both $(generated-y) in that place and also in another Makefile. The configuration for which syscall.tbl file to use and which ABIs to enable is now done in arch/*/kernel/Makefile.syscalls. I have done patches for all architectures and made sure that the new generic rules implement a superset of all the architecture specific corner cases. ince the header file is not specific to asm-generic/*.h redirects now, I ended up renaming the file to scripts/Makefile.asm-headers. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/Makefile')
0 files changed, 0 insertions, 0 deletions