forked from Mirrors/opensbi

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>
16 lines
323 B
Makefile
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))
|