commit | a5f09cf7052ab6abb171400d377eecb1efac1a9b | [log] [tgz] |
---|---|---|
author | Marco Felsch <m.felsch@pengutronix.de> | Thu Nov 24 11:02:05 2022 +0100 |
committer | Marco Felsch <m.felsch@pengutronix.de> | Mon Mar 13 10:55:50 2023 +0100 |
tree | a93aeedb4134abf05776745ca200c35235b2e4b7 | |
parent | 404e835c33f676fefa8857c01365318b514cd1fd [diff] |
build(makefile): add helper to detect linker options This is a small helper to check for possible linker options. If the linker supports the requested option it is returned and if not nothing will be returned, e.g.: TF_LDFLAGS += $(call ld_option, --no-warn-rwx-segments) can be called unconditional. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Change-Id: I236800852ece49948ff53a0b91fddba53c8f0f95