Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Gerald Van Baren | 6c1da53 | 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 | c0577a6 | 2007-03-31 11:59:59 -0400 | [diff] [blame] | 5 | |
Masahiro Yamada | 1d95082 | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 6 | # Use upstream code. |
Robert P. J. Day | 55019c5 | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 7 | obj-y += \ |
| 8 | fdt.o \ |
Masahiro Yamada | b79320b | 2017-11-27 16:06:07 +0900 | [diff] [blame] | 9 | fdt_wip.o \ |
Robert P. J. Day | 55019c5 | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 10 | fdt_strerror.o \ |
| 11 | fdt_sw.o \ |
Masahiro Yamada | 938f039 | 2018-01-21 19:19:13 +0900 | [diff] [blame] | 12 | fdt_rw.o \ |
Robert P. J. Day | 55019c5 | 2016-05-23 05:40:55 -0400 | [diff] [blame] | 13 | fdt_empty_tree.o \ |
Masahiro Yamada | 1d95082 | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 14 | fdt_addresses.o |
Maxime Ripard | 9e901ce | 2016-07-05 10:26:44 +0200 | [diff] [blame] | 15 | |
| 16 | obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o |
Masahiro Yamada | 1d95082 | 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 | 938f039 | 2018-01-21 19:19:13 +0900 | [diff] [blame] | 20 | obj-y += fdt_ro.o |
Masahiro Yamada | 1d95082 | 2017-10-17 22:30:20 +0900 | [diff] [blame] | 21 | |
| 22 | # U-Boot own file |
| 23 | obj-y += fdt_region.o |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 24 | |
| 25 | ccflags-y := -I$(srctree)/scripts/dtc/libfdt |