aboutsummaryrefslogtreecommitdiff
path: root/libfdt/Makefile.libfdt
blob: 193da8c99d8388adcc3e69e79eb6a47174281c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Makefile.libfdt
#
# This is not a complete Makefile of itself.  Instead, it is designed to
# be easily embeddable into other systems of Makefiles.
#
LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
LIBFDT_VERSION = version.lds
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)
LIBFDT_LIB = libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT)

libfdt_clean:
	@$(VECHO) CLEAN "(libfdt)"
	rm -f $(STD_CLEANFILES:%=$(LIBFDT_dir)/%)
	rm -f $(LIBFDT_dir)/$(LIBFDT_soname)