xref: /openbmc/u-boot/lib/libfdt/Makefile (revision e8f80a5a)
1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
20de71d50SPeter Tyser#
30de71d50SPeter Tyser# (C) Copyright 2000-2007
40de71d50SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
50de71d50SPeter Tyser
650a327deSMasahiro Yamada# Use upstream code.
76feed2a5SRobert P. J. Dayobj-y += \
86feed2a5SRobert P. J. Day	fdt.o \
926e961c8SMasahiro Yamada	fdt_wip.o \
106feed2a5SRobert P. J. Day	fdt_strerror.o \
116feed2a5SRobert P. J. Day	fdt_sw.o \
12ae9ace70SMasahiro Yamada	fdt_rw.o \
136feed2a5SRobert P. J. Day	fdt_empty_tree.o \
1450a327deSMasahiro Yamada	fdt_addresses.o
15ddf67f71SMaxime Ripard
16ddf67f71SMaxime Ripardobj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
1750a327deSMasahiro Yamada
1850a327deSMasahiro Yamada# Locally modified for U-Boot.
1950a327deSMasahiro Yamada# TODO: split out the local modifiction.
20ae9ace70SMasahiro Yamadaobj-y += fdt_ro.o
2150a327deSMasahiro Yamada
2250a327deSMasahiro Yamada# U-Boot own file
2350a327deSMasahiro Yamadaobj-y += fdt_region.o
24b08c8c48SMasahiro Yamada
25b08c8c48SMasahiro Yamadaccflags-y := -I$(srctree)/scripts/dtc/libfdt
26