diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2021-10-20 21:06:18 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-10-26 12:05:17 +0000 |
commit | 9af6d11082735c6cabf9f71aaaec653093bcb4b6 (patch) | |
tree | 972dde39ad9578b851a7a0027685976f917dcfba | |
parent | 5c538b40c29f87886f24ffade7e6f068d4e0cf22 (diff) | |
download | flashrom-9af6d11082735c6cabf9f71aaaec653093bcb4b6.tar.gz flashrom-9af6d11082735c6cabf9f71aaaec653093bcb4b6.tar.bz2 flashrom-9af6d11082735c6cabf9f71aaaec653093bcb4b6.zip |
Makefile: meson.build: remove unused CONFIG_I2C_SUPPORT
CONFIG_I2C_SUPPORT has no mention in the source code. No need to pass
it to the compiler.
Change-Id: I2e19335e1b8d39f44dda14edc0a496dda6bc8c9c
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/58495
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | meson.build | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -738,7 +738,6 @@ endif ifeq ($(CONFIG_LINUX_I2C_HELPER), yes) LIB_OBJS += i2c_helper_linux.o -FEATURE_CFLAGS += -D'CONFIG_I2C_SUPPORT=1' endif ifneq ($(NEED_SERIAL), ) diff --git a/meson.build b/meson.build index 86657cef..85f40ba5 100644 --- a/meson.build +++ b/meson.build @@ -342,7 +342,6 @@ endif if host_machine.system() == 'linux' srcs += 'i2c_helper_linux.c' - cargs += '-DCONFIG_I2C_SUPPORT=1' endif # raw memory, MSR or PCI port I/O access |