summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:17:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:02 -0800
commit8b11f872deb7c779f6aac4e7bc323d4b1972c33e (patch)
tree9789cfca721c3a1aaa39ecf9e3329a05fd35c5e7
parent02750930545bd13f6d6fa7e8169f49badf03a083 (diff)
downloadpoky-8b11f872deb7c779f6aac4e7bc323d4b1972c33e.tar.gz
dtc: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 7c337dbd59a6f7c9bd06131e5c0ad0de51e1d1e5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/dtc/dtc/make_install.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-kernel/dtc/dtc/make_install.patch b/meta/recipes-kernel/dtc/dtc/make_install.patch
index 1120617e7b..ccf17b38fd 100644
--- a/meta/recipes-kernel/dtc/dtc/make_install.patch
+++ b/meta/recipes-kernel/dtc/dtc/make_install.patch
@@ -2,11 +2,11 @@ Upstream-Status: Inappropriate [configuration]
2 2
3Index: git/Makefile 3Index: git/Makefile
4=================================================================== 4===================================================================
5--- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700 5--- git.orig/Makefile
6+++ git/Makefile 2011-11-02 15:06:01.555104982 -0700 6+++ git/Makefile
7@@ -161,8 +161,8 @@ 7@@ -168,8 +168,8 @@ install-bin: all $(SCRIPTS)
8 $(INSTALL) -d $(DESTDIR)$(BINDIR) 8 install-lib: all
9 $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR) 9 @$(VECHO) INSTALL-LIB
10 $(INSTALL) -d $(DESTDIR)$(LIBDIR) 10 $(INSTALL) -d $(DESTDIR)$(LIBDIR)
11- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR) 11- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
12- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) 12- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
@@ -14,4 +14,4 @@ Index: git/Makefile
14+ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib)) 14+ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib))
15 ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT) 15 ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
16 $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR) 16 $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
17 $(INSTALL) -d $(DESTDIR)$(INCLUDEDIR) 17