commit | 8782b8849147aef0e0f8dcf54ec3f2d980acbf50 | [log] [tgz] |
---|---|---|
author | Marco Felsch <m.felsch@pengutronix.de> | Thu Nov 24 11:02:05 2022 +0100 |
committer | Okash Khawaja <okash@google.com> | Tue May 30 18:35:55 2023 +0100 |
tree | 1dbc1a645fac51eecf8cc798f4d877ed160d46be | |
parent | 37bee4983192451a00ed9dd5987e8e856fb09714 [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 (cherry picked from commit a5f09cf7052ab6abb171400d377eecb1efac1a9b)