File: objects.mk

package info (click to toggle)
opensbi 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,352 kB
  • sloc: ansic: 32,307; python: 4,658; asm: 1,076; makefile: 631; sh: 331
file content (16 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_addresses.o fdt_check.o fdt_empty_tree.o fdt_ro.o fdt_rw.o \
               fdt_strerror.o fdt_sw.o fdt_wip.o
$(foreach file, $(libfdt_files), \
        $(eval CFLAGS_$(file) = -I$(src)/../../utils/libfdt))

libsbiutils-objs-$(CONFIG_LIBFDT) += $(addprefix libfdt/,$(libfdt_files))
libsbiutils-genflags-y  += -I$(libsbiutils_dir)/libfdt/