diff options
| author | Atish Patra <atish.patra@wdc.com> | 2019-06-18 14:54:02 -0700 |
|---|---|---|
| committer | Anup Patel <anup.patel@wdc.com> | 2019-06-19 09:48:54 +0530 |
| commit | 98aaf8317b74414afa78078bc056670f46c45f41 (patch) | |
| tree | e26aa71b9e3ea232f246fd10a7cfd3fd94578f7a /lib/sbi/libc/objects.mk | |
| parent | 749b0b093242a4c27f7c4f66121afd7852b2de48 (diff) | |
| download | opensbi-98aaf8317b74414afa78078bc056670f46c45f41.tar.gz opensbi-98aaf8317b74414afa78078bc056670f46c45f41.tar.bz2 opensbi-98aaf8317b74414afa78078bc056670f46c45f41.zip | |
lib: Include helper libc functions directly in libsbi.
libsbi needs some of the custom libc functions. It should be directly
included in libsbi instead of platform specific libraries.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi/libc/objects.mk')
| -rw-r--r-- | lib/sbi/libc/objects.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/sbi/libc/objects.mk b/lib/sbi/libc/objects.mk new file mode 100644 index 00000000..7a6ebbea --- /dev/null +++ b/lib/sbi/libc/objects.mk @@ -0,0 +1,15 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. +# +# Authors: +# Atish Patra<atish.patra@wdc.com> +# + +libc_files = string.o + +$(foreach file, $(libc_files), \ + $(eval CFLAGS_$(file) = -I$(src)/../../sbi/libc)) + +libsbi-objs-y += $(addprefix libc/,$(libc_files)) |
