aboutsummaryrefslogtreecommitdiff
path: root/libfdt/Makefile.inc
blob: 63c9d38e6c13e69e15e7c3d51f010cbe4386a804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile.libfdt
#
# This is not a complete Makefile of itself.  Instead, it is designed to
# be easily embeddable into other systems of Makefiles.
#

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

# That warning can't really be fixed so compile the file without it
CFLAGS_SKIP_libfdt/fdt_sw.o = -Wstack-usage=4096

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

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