diff options
author | Kautuk Consul <kconsul@ventanamicro.com> | 2022-12-07 17:12:34 +0530 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2022-12-08 15:15:22 +0800 |
commit | 1c03ab9f4bdf19d1ac7afc157788bd0102ccd969 (patch) | |
tree | 6ba8dbdc7c9742719cdf35452392d40470584de2 /lib/Makefile | |
parent | 14f2d087a3d6347ba0ff7a7e9aaff6955e53e7a8 (diff) | |
download | u-boot-1c03ab9f4bdf19d1ac7afc157788bd0102ccd969.tar.gz u-boot-1c03ab9f4bdf19d1ac7afc157788bd0102ccd969.tar.bz2 u-boot-1c03ab9f4bdf19d1ac7afc157788bd0102ccd969.zip |
lib: Add common semihosting library
We factor out the arch-independent parts of the ARM semihosting
implementation as a common library so that it can be shared
with RISC-V.
Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index f2cfd1e428..d77b33e7f4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -146,6 +146,8 @@ obj-y += date.o obj-y += rtc-lib.o obj-$(CONFIG_LIB_ELF) += elf.o +obj-$(CONFIG_$(SPL_TPL_)SEMIHOSTING) += semihosting.o + # # Build a fast OID lookup registry from include/linux/oid_registry.h # |