aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/libfdt/Makefile.libfdt
blob: 82f9c6a8287b8a7793efdd8f58118f45d7020d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Makefile.libfdt
#
# This is not a complete Makefile of itself.  Instead, it is designed to
# be easily embeddable into other systems of Makefiles.
#
LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c
LIBFDT_INCLUDES = fdt.h libfdt.h
LIBFDT_EXTRA = libfdt_internal.h
LIBFDT_LIB = libfdt/libfdt.a

LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)

$(LIBFDT_objdir)/$(LIBFDT_LIB): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS))