aboutsummaryrefslogtreecommitdiff
path: root/libfdt/Makefile.inc
blob: f0dd995ec0d02101a2d0c330bb8183f1c3d81402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Makefile.inc
#
# LIBFDT_ variables are taken from Makefile.libfdt

LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \
	fdt_addresses.c fdt_overlay.c
LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)

CFLAGS_SKIP_libfdt/ = -Wsuggest-attribute=const -Wsuggest-attribute=noreturn

SUBDIRS += libfdt
LIBFDT = libfdt/built-in.a

$(LIBFDT): $(LIBFDT_OBJS:%=libfdt/%)