diff options
| author | Atish Patra <[email protected]> | 2019-01-17 16:38:55 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-01-18 10:05:12 +0530 |
| commit | 1901e8a287bcf7edeeb7aeef05df00675754f2a9 (patch) | |
| tree | 00de8f9296d8bfbba1ec04991552d19cd82719b5 /platform/common/libc/objects.mk | |
| parent | 3298251f0c56b556a8f53632e46020861a2f4f8a (diff) | |
platform: Add minimal libc support.
libfdt requires minimal libc support. Absoultely
minimum functions are added in libc.
Signed-off-by: Atish Patra <[email protected]>
Diffstat (limited to 'platform/common/libc/objects.mk')
| -rw-r--r-- | platform/common/libc/objects.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/common/libc/objects.mk b/platform/common/libc/objects.mk new file mode 100644 index 00000000..9da0b0e7 --- /dev/null +++ b/platform/common/libc/objects.mk @@ -0,0 +1,15 @@ +# +# Copyright (c) 2018 Western Digital Corporation or its affiliates. +# +# Authors: +# Atish Patra<[email protected]> +# +# SPDX-License-Identifier: BSD-2-Clause +# + +libc_files = string.o + +$(foreach file, $(libc_files), \ + $(eval CFLAGS_$(file) = -I$(src)/../../common/libc)) + +platform-common-objs-$(PLATFORM_INCLUDE_LIBC) += $(addprefix libc/,$(libc_files)) |
