]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
plat/*: Add linker scripts to link dependencies
authorSimon Kuenzer <simon@unikraft.io>
Thu, 23 Feb 2023 20:47:59 +0000 (21:47 +0100)
committerUnikraft <monkey@unikraft.io>
Sun, 7 May 2023 16:44:41 +0000 (16:44 +0000)
commit910b9befc07212f8b1313b234ce162dd6130e0d0
tree97d3cd475fba46a632c4f998f27a564df61cd634
parentae0ee99ee2f79b8db511ab97a4f3d3f3218ca121
plat/*: Add linker scripts to link dependencies

This commit adds needed linker scripts as dependency to the linking rule
of the final image. This dependency was mostly indirectly covered via
libraries. However, updates to platform linker scripts did not trigger
relinking the final image.
Additionally, pure API libraries (like `lib/ukfalloc`) would not even cause
building a linker script that is shipped with the library or injected with
an `EACHOLIB_SRCS` declaration. The library buildrule is generated but
because no library object is generated, the linker script was never be part
of a dependency list.

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
plat/kvm/Linker.uk
plat/linuxu/Linker.uk
plat/xen/Linker.uk