Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: kbuild: Add support for 'as-instr' to be used in Kconfig files
commit 42d519e upstream. Similar to 'cc-option' or 'ld-option', it is occasionally necessary to check whether the assembler supports certain ISA extensions. In the arm64 code we currently do this in Makefile with an additional define: lseinstr := $(call as-instr,.arch_extension lse,-DCONFIG_AS_LSE=1) Add the 'as-instr' option so that it can be used in Kconfig directly: def_bool $(as-instr,.arch_extension lse) Acked-by: Masahiro Yamada <[email protected]> Reviewed-by: Vladimir Murzin <[email protected]> Tested-by: Vladimir Murzin <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Change-Id: I311dc182adb85c898d1f5aa3187896dc6f45973a Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Bug: 141693040 (cherry picked from commit a31d96d) Signed-off-by: TogoFire <[email protected]>
- Loading branch information