]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
build: Declare __LIBNAME__, __BASENAME__ and __VARIANT__ for .lds.S
authorSimon Kuenzer <simon@unikraft.io>
Thu, 23 Feb 2023 21:21:04 +0000 (22:21 +0100)
committerUnikraft <monkey@unikraft.io>
Sun, 7 May 2023 16:44:41 +0000 (16:44 +0000)
commit243f0c45ca8060a230e0bde34783b75c0fefb47a
tree3c3f2caf75ddadf1b0ada0aef4e15146efaf3c98
parent910b9befc07212f8b1313b234ce162dd6130e0d0
build: Declare __LIBNAME__, __BASENAME__ and __VARIANT__ for .lds.S

.lds.S files are linker script files that use the C preprocessor in order
to generate the final .lds file. This commit provides Unikraft's common
declarations of `__LIBNAME__`, `__BASENAME__`, `__VARIANT__` to this
pre-processing step so that they can be used for generating linker scripts.

Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Delia Pavel <delia_maria.pavel@stud.acs.upb.ro>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #868
support/build/Makefile.rules