From 9af6d11082735c6cabf9f71aaaec653093bcb4b6 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Wed, 20 Oct 2021 21:06:18 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/58495 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Angel Pons --- Makefile | 1 - meson.build | 1 - 2 files changed, 2 deletions(-) diff --git a/Makefile b/Makefile index b03ab7c25..0b60de2cd 100644 --- a/Makefile +++ b/Makefile @@ -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 86657cefa..85f40ba56 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 -- cgit v1.2.3