Files
opensbi/lib/sbi/libc/objects.mk
Atish Patra 98aaf8317b 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>
2019-06-19 09:48:54 +05:30

16 lines
323 B
Makefile

#
# 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))