Blame libfdt/Makefile.libfdt

Packit Service 0ee8e1
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
Packit 2ad57b
# Makefile.libfdt
Packit 2ad57b
#
Packit 2ad57b
# This is not a complete Makefile of itself.  Instead, it is designed to
Packit 2ad57b
# be easily embeddable into other systems of Makefiles.
Packit 2ad57b
#
Packit 2ad57b
LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
Packit 2ad57b
LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
Packit 2ad57b
LIBFDT_VERSION = version.lds
Packit 2ad57b
LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \
Packit Service 0ee8e1
	fdt_addresses.c fdt_overlay.c fdt_check.c
Packit 2ad57b
LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
Packit Service 0ee8e1
LIBFDT_LIB = libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT)
Packit Service 0ee8e1
Packit Service 0ee8e1
libfdt_clean:
Packit Service 0ee8e1
	@$(VECHO) CLEAN "(libfdt)"
Packit Service 0ee8e1
	rm -f $(STD_CLEANFILES:%=$(LIBFDT_dir)/%)
Packit Service 0ee8e1
	rm -f $(LIBFDT_dir)/$(LIBFDT_soname)