commit | df646b536fdf1955607f98464942590f98418692 | [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 | 8bf4e8b988fc04f41c1bfff2a911223299e07666 [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