aboutsummaryrefslogtreecommitdiff
path: root/lib/sbi/libc/objects.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbi/libc/objects.mk')
-rw-r--r--lib/sbi/libc/objects.mk15
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 0000000..7a6ebbe
--- /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))