History

scripts/dtc: Remove unused makefile fragments

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.

Rob Herring committed 6 years ago

Commit 78154211 parent 431a30b3 files · +2 −43Browse files

Unified · Split

3 files
  1. scripts/dtc/Makefile.dtc +0 −23
  2. scripts/dtc/libfdt/Makefile.libfdt +0 −18
  3. scripts/dtc/update-dtc-source.sh +2 −2
scripts/dtc/Makefile.dtc+0−23
@@ -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#
7DTC_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
18ifneq ($(NO_YAML),1)
19DTC_SRCS += yamltree.c
20endif
21
22DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
23DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)
scripts/dtc/libfdt/Makefile.libfdt+0−18
@@ -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#
7LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
8LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
9LIBFDT_VERSION = version.lds
10LIBFDT_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
12LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
13LIBFDT_LIB = libfdt-$(DTC_VERSION).$(SHAREDLIB_EXT)
14
15libfdt_clean:
16 @$(VECHO) CLEAN "(libfdt)"
17 rm -f $(STD_CLEANFILES:%=$(LIBFDT_dir)/%)
18 rm -f $(LIBFDT_dir)/$(LIBFDT_soname)
scripts/dtc/update-dtc-source.sh+2−2
@@ -32,9 +32,9 @@ DTC_UPSTREAM_PATH=`pwd`/../dtc · 31 unmodified lines
32DTC_LINUX_PATH=`pwd`/scripts/dtc32DTC_LINUX_PATH=`pwd`/scripts/dtc
33 33
34DTC_SOURCE="checks.c data.c dtc.c dtc.h flattree.c fstree.c livetree.c srcpos.c \34DTC_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"
37LIBFDT_SOURCE="Makefile.libfdt fdt.c fdt.h fdt_addresses.c fdt_empty_tree.c \37LIBFDT_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