xref: /rk3399_ARM-atf/lib/libfdt/libfdt.mk (revision 754d78b1b331b07456c6ea439e401402a186c626)
1*754d78b1SDan Handley#
2*754d78b1SDan Handley# Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3*754d78b1SDan Handley#
4*754d78b1SDan Handley# Redistribution and use in source and binary forms, with or without
5*754d78b1SDan Handley# modification, are permitted provided that the following conditions are met:
6*754d78b1SDan Handley#
7*754d78b1SDan Handley# Redistributions of source code must retain the above copyright notice, this
8*754d78b1SDan Handley# list of conditions and the following disclaimer.
9*754d78b1SDan Handley#
10*754d78b1SDan Handley# Redistributions in binary form must reproduce the above copyright notice,
11*754d78b1SDan Handley# this list of conditions and the following disclaimer in the documentation
12*754d78b1SDan Handley# and/or other materials provided with the distribution.
13*754d78b1SDan Handley#
14*754d78b1SDan Handley# Neither the name of ARM nor the names of its contributors may be used
15*754d78b1SDan Handley# to endorse or promote products derived from this software without specific
16*754d78b1SDan Handley# prior written permission.
17*754d78b1SDan Handley#
18*754d78b1SDan Handley# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19*754d78b1SDan Handley# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*754d78b1SDan Handley# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*754d78b1SDan Handley# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22*754d78b1SDan Handley# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23*754d78b1SDan Handley# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24*754d78b1SDan Handley# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25*754d78b1SDan Handley# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26*754d78b1SDan Handley# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27*754d78b1SDan Handley# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28*754d78b1SDan Handley# POSSIBILITY OF SUCH DAMAGE.
29*754d78b1SDan Handley#
30*754d78b1SDan Handley
31*754d78b1SDan HandleyLIBFDT_SRCS	:=	$(addprefix lib/libfdt/,	\
32*754d78b1SDan Handley			fdt.c				\
33*754d78b1SDan Handley			fdt_addresses.c			\
34*754d78b1SDan Handley			fdt_empty_tree.c		\
35*754d78b1SDan Handley			fdt_ro.c			\
36*754d78b1SDan Handley			fdt_rw.c			\
37*754d78b1SDan Handley			fdt_strerror.c			\
38*754d78b1SDan Handley			fdt_sw.c			\
39*754d78b1SDan Handley			fdt_wip.c)			\
40*754d78b1SDan Handley
41*754d78b1SDan HandleyINCLUDES	+=	-Iinclude/lib/libfdt
42