rockchip: rk3399: Add Nanopi M4 2GB board support
[platform/kernel/u-boot.git] / lib / libfdt / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2000-2007
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6 # Use upstream code.
7 obj-y += \
8         fdt.o \
9         fdt_wip.o \
10         fdt_strerror.o \
11         fdt_sw.o \
12         fdt_rw.o \
13         fdt_empty_tree.o \
14         fdt_addresses.o
15
16 obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
17
18 # Locally modified for U-Boot.
19 # TODO: split out the local modifiction.
20 obj-y += fdt_ro.o
21
22 # U-Boot own file
23 obj-y += fdt_region.o
24
25 ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
26         -DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)