diff options
Diffstat (limited to 'lib/utils/libfdt/objects.mk')
-rw-r--r-- | lib/utils/libfdt/objects.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/utils/libfdt/objects.mk b/lib/utils/libfdt/objects.mk new file mode 100644 index 0000000..205ea2c --- /dev/null +++ b/lib/utils/libfdt/objects.mk @@ -0,0 +1,16 @@ +# +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (c) 2019 Western Digital Corporation or its affiliates. +# +# Authors: +# Atish Patra<atish.patra@wdc.com> +# + +libfdt_files = fdt.o fdt_ro.o fdt_wip.o fdt_rw.o fdt_sw.o fdt_strerror.o \ + fdt_empty_tree.o +$(foreach file, $(libfdt_files), \ + $(eval CFLAGS_$(file) = -I$(src)/../../utils/libfdt)) + +libsbiutils-objs-$(PLATFORM_INCLUDE_LIBFDT) += $(addprefix libfdt/,$(libfdt_files)) +libsbiutils-genflags-$(PLATFORM_INCLUDE_LIBFDT) += -I$(libsbiutils_dir)/libfdt/ |