blob: ef5b6e29d46afaa5f27497d9d5be0497243bf2f7 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Gerald Van Baren6c1da532007-03-31 12:05:39 -04002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Gerald Van Barenc0577a62007-03-31 11:59:59 -04005
Masahiro Yamada1d950822017-10-17 22:30:20 +09006# Use upstream code.
Robert P. J. Day55019c52016-05-23 05:40:55 -04007obj-y += \
8 fdt.o \
Masahiro Yamadab79320b2017-11-27 16:06:07 +09009 fdt_wip.o \
Robert P. J. Day55019c52016-05-23 05:40:55 -040010 fdt_strerror.o \
11 fdt_sw.o \
Masahiro Yamada938f0392018-01-21 19:19:13 +090012 fdt_rw.o \
Robert P. J. Day55019c52016-05-23 05:40:55 -040013 fdt_empty_tree.o \
Masahiro Yamada1d950822017-10-17 22:30:20 +090014 fdt_addresses.o
Maxime Ripard9e901ce2016-07-05 10:26:44 +020015
16obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
Masahiro Yamada1d950822017-10-17 22:30:20 +090017
18# Locally modified for U-Boot.
19# TODO: split out the local modifiction.
Masahiro Yamada938f0392018-01-21 19:19:13 +090020obj-y += fdt_ro.o
Masahiro Yamada1d950822017-10-17 22:30:20 +090021
22# U-Boot own file
23obj-y += fdt_region.o
Masahiro Yamada75f82d02018-03-05 01:20:11 +090024
25ccflags-y := -I$(srctree)/scripts/dtc/libfdt