aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff')
-rw-r--r--i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff48
1 files changed, 48 insertions, 0 deletions
diff --git a/i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff b/i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff
new file mode 100644
index 00000000..5dc0e7a4
--- /dev/null
+++ b/i18n/fr_FR/projects/flashrom-cros/patches/flashrom-makefile-20170120-1139be7.diff
@@ -0,0 +1,48 @@
+diff --git a/Makefile b/Makefile
+index a2f95cf..fcfce9b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -35,7 +35,7 @@ PKG_CONFIG ?= pkg-config
+ WARNERROR ?= yes
+
+ ifneq ($(NOWARNERROR),yes)
+-CFLAGS += -Werror
++CFLAGS +=
+ endif
+
+ ifeq ($(CONFIG_STATIC),yes)
+@@ -354,7 +354,7 @@ CONFIG_BUSPIRATE_SPI ?= no
+ CONFIG_RAIDEN_DEBUG_SPI ?= no
+
+ # Enable Linux I2C for ChromeOS EC
+-CONFIG_LINUX_I2C ?= no
++CONFIG_LINUX_I2C ?= yes
+
+ CONFIG_LINUX_MTD ?= no
+
+@@ -401,6 +401,7 @@ PROGRAMMER_OBJS += ichspi.o ich_descriptors.o
+ else
+ ifeq ($(ARCH),arm)
+ PROGRAMMER_OBJS += cros_ec_i2c.o
++CONFIG_SATAMV := no
+ endif
+ NEED_PCI := yes
+ endif
+@@ -453,7 +454,7 @@ endif
+
+ ifeq ($(CONFIG_FT2232_SPI), yes)
+ FTDILIBS := $(shell $(PKG_CONFIG) --libs libftdi1 2>/dev/null || \
+- $(PKG_CONFIG) --libs libftdi 2>/dev/null || echo "-lftdi -lusb")
++ $(PKG_CONFIG) --libs libftdi 2>/dev/null || echo "-lftdi -lusb-1.0")
+ FTDICFLAGS := $(shell $(PKG_CONFIG) --cflags libftdi1 2>/dev/null || \
+ $(PKG_CONFIG) --cflags libftdi 2>/dev/null)
+ # This is a totally ugly hack.
+@@ -528,7 +529,7 @@ endif
+
+ ifeq ($(CONFIG_DEDIPROG), yes)
+ FEATURE_CFLAGS += -D'CONFIG_DEDIPROG=1'
+-FEATURE_LIBS += -lusb
++FEATURE_LIBS += -lusb-1.0
+ PROGRAMMER_OBJS += dediprog.o
+ endif
+