Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Gerald Van Baren | fa3a74c | 2007-03-31 12:05:39 -0400 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2007 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Gerald Van Baren | 7cd5da0 | 2007-03-31 11:59:59 -0400 | [diff] [blame] | 5 | |
Masahiro Yamada | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 6 | # Use upstream code. |
Robert P. J. Day | 6feed2a | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 7 | obj-y += \ |
| 8 | fdt.o \ |
Masahiro Yamada | 26e961c | 2017-11-27 16:06:07 +0900 | [diff] [blame] | 9 | fdt_wip.o \ |
Robert P. J. Day | 6feed2a | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 10 | fdt_strerror.o \ |
| 11 | fdt_sw.o \ |
Masahiro Yamada | ae9ace7 | 2018-01-21 19:19:13 +0900 | [diff] [blame] | 12 | fdt_rw.o \ |
Robert P. J. Day | 6feed2a | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 13 | fdt_empty_tree.o \ |
Masahiro Yamada | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 14 | fdt_addresses.o |
Maxime Ripard | ddf67f7 | 2016-07-05 10:26:44 +0200 | [diff] [blame] | 15 | |
| 16 | obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o |
Masahiro Yamada | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 17 | |
| 18 | # Locally modified for U-Boot. |
| 19 | # TODO: split out the local modifiction. |
Masahiro Yamada | ae9ace7 | 2018-01-21 19:19:13 +0900 | [diff] [blame] | 20 | obj-y += fdt_ro.o |
Masahiro Yamada | 50a327d | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 21 | |
| 22 | # U-Boot own file |
| 23 | obj-y += fdt_region.o |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 24 | |
| 25 | ccflags-y := -I$(srctree)/scripts/dtc/libfdt |