The Makefile.dtc and Makefile.libfdt fragments from upstream dtc aren't used by the kernel build, so let's remove them and stop syncing them.
Showing the changes to scripts (3 of 3 files). Show all
Unified · Split
| @@ -1,23 +0,0 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 2 | # Makefile.dtc | ||
| 3 | # | ||
| 4 | # This is not a complete Makefile of itself. Instead, it is designed to | ||
| 5 | # be easily embeddable into other systems of Makefiles. | ||
| 6 | # | ||
| 7 | DTC_SRCS = \ | ||
| 8 | checks.c \ | ||
| 9 | data.c \ | ||
| 10 | dtc.c \ | ||
| 11 | flattree.c \ | ||
| 12 | fstree.c \ | ||
| 13 | livetree.c \ | ||
| 14 | srcpos.c \ | ||
| 15 | treesource.c \ | ||
| 16 | util.c | ||
| 17 | |||
| 18 | ifneq ($(NO_YAML),1) | ||
| 19 | DTC_SRCS += yamltree.c | ||
| 20 | endif | ||
| 21 | |||
| 22 | DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c | ||
| 23 | DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o) | ||
| @@ -1,18 +0,0 @@ | |||
| 1 | # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) | ||
| 2 | # Makefile.libfdt | ||
| 3 | # | ||
| 4 | # This is not a complete Makefile of itself. Instead, it is designed to | ||
| 5 | # be easily embeddable into other systems of Makefiles. | ||
| 6 | # | ||
| 7 | LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1 | ||
| 8 | LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h | ||
| 9 | LIBFDT_VERSION = version.lds | ||
| 10 | LIBFDT_SRCS = fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c fdt_empty_tree.c \ | ||
| 11 | fdt_addresses.c fdt_overlay.c | ||
| 12 | LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o) | ||
| 13 | LIBFDT_LIB = libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT) | ||
| 14 | |||
| 15 | libfdt_clean: | ||
| 16 | @$(VECHO) CLEAN "(libfdt)" | ||
| 17 | rm -f $(STD_CLEANFILES:%=$(LIBFDT_dir)/%) | ||
| 18 | rm -f $(LIBFDT_dir)/$(LIBFDT_soname) | ||
| @@ -32,9 +32,9 @@ DTC_UPSTREAM_PATH=`pwd`/../dtc · 31 unmodified lines | |||
| 32 | DTC_LINUX_PATH=`pwd`/scripts/dtc | 32 | DTC_LINUX_PATH=`pwd`/scripts/dtc |
| 33 | 33 | ||
| 34 | DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c \ | 34 | DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c \ |
| 35 | srcpos.h treesource.c util.c util.h version_gen.h yamltree.c Makefile.dtc \ | 35 | srcpos.h treesource.c util.c util.h version_gen.h yamltree.c \ |
| 36 | dtc-lexer.l dtc-parser.y" | 36 | dtc-lexer.l dtc-parser.y" |
| 37 | LIBFDT_SOURCE="Makefile.libfdt fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \ | 37 | LIBFDT_SOURCE="fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \ |
| 38 | fdt_overlay.c fdt_ro.c fdt_rw.c fdt_strerror.c fdt_sw.c \ | 38 | fdt_overlay.c fdt_ro.c fdt_rw.c fdt_strerror.c fdt_sw.c \ |
| 39 | fdt_wip.c libfdt.h libfdt_env.h libfdt_internal.h" | 39 | fdt_wip.c libfdt.h libfdt_env.h libfdt_internal.h" |
| 40 | 40 | ||