summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/i2c-tools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-09 20:55:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-11 06:27:00 -0700
commitbc2d5c5c1c617d69a2577f57c7c46a69c6e0ddcc (patch)
tree7ef88f2325f388ffdf6eee7348c358a7eed39619 /meta/recipes-devtools/i2c-tools
parent70d20398c48ce18823b0117079f2fdc04043a092 (diff)
downloadpoky-bc2d5c5c1c617d69a2577f57c7c46a69c6e0ddcc.tar.gz
i2c-tools: 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: 00677e03156228f752476520911c19d4156db8da) 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>
Diffstat (limited to 'meta/recipes-devtools/i2c-tools')
-rw-r--r--meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch25
1 files changed, 11 insertions, 14 deletions
diff --git a/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch b/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch
index e47c02ab7f..33cf2d42a8 100644
--- a/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch
+++ b/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch
@@ -17,12 +17,12 @@ Signed-off-by: Maxin B. John <maxin.john@intel.com>
17 tools/Module.mk | 10 +++++----- 17 tools/Module.mk | 10 +++++-----
18 2 files changed, 12 insertions(+), 5 deletions(-) 18 2 files changed, 12 insertions(+), 5 deletions(-)
19 19
20diff --git a/lib/Module.mk b/lib/Module.mk 20Index: i2c-tools-4.0/lib/Module.mk
21index 8a58f5b..67afe91 100644 21===================================================================
22--- a/lib/Module.mk 22--- i2c-tools-4.0.orig/lib/Module.mk
23+++ b/lib/Module.mk 23+++ i2c-tools-4.0/lib/Module.mk
24@@ -37,6 +37,13 @@ ifeq ($(BUILD_STATIC_LIB),1) 24@@ -35,6 +35,13 @@ LIB_TARGETS += $(LIB_STLIBNAME)
25 LIB_TARGETS += $(LIB_STLIBNAME) 25 LIB_OBJECTS += smbus.ao
26 endif 26 endif
27 27
28+# Library file to link against (static or dynamic) 28+# Library file to link against (static or dynamic)
@@ -35,11 +35,11 @@ index 8a58f5b..67afe91 100644
35 # 35 #
36 # Libraries 36 # Libraries
37 # 37 #
38diff --git a/tools/Module.mk b/tools/Module.mk 38Index: i2c-tools-4.0/tools/Module.mk
39index 6421a23..609de7a 100644 39===================================================================
40--- a/tools/Module.mk 40--- i2c-tools-4.0.orig/tools/Module.mk
41+++ b/tools/Module.mk 41+++ i2c-tools-4.0/tools/Module.mk
42@@ -24,19 +24,19 @@ TOOLS_TARGETS := i2cdetect i2cdump i2cset i2cget i2ctransfer 42@@ -24,19 +24,19 @@ TOOLS_TARGETS := i2cdetect i2cdump i2cse
43 # Programs 43 # Programs
44 # 44 #
45 45
@@ -64,6 +64,3 @@ index 6421a23..609de7a 100644
64 $(CC) $(LDFLAGS) -o $@ $^ $(TOOLS_LDFLAGS) 64 $(CC) $(LDFLAGS) -o $@ $^ $(TOOLS_LDFLAGS)
65 65
66 # 66 #
67--
682.4.0
69