summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2022-01-31 23:59:09 +0100
committerNico Huber <nico.h@gmx.de>2022-02-16 14:23:53 +0000
commit387631e115a261ddd12e0e84a99d0a3d610abb87 (patch)
tree0f119b863afe5fbb23d7874d71a6f1f3a64928d6 /Makefile
parentff4c624d94d77543313b1ff8247c6430bae14bcd (diff)
downloadflashrom-387631e115a261ddd12e0e84a99d0a3d610abb87.tar.gz
flashrom-387631e115a261ddd12e0e84a99d0a3d610abb87.tar.bz2
flashrom-387631e115a261ddd12e0e84a99d0a3d610abb87.zip
Makefile: remove CPPFLAGS and LDFLAGS to default directories
All CPPFLAGS and LDFLAGS for dependencies are handled by pkg-config Change-Id: Ib7c11a0c8a7918562256480c4be0c95355f981c5 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61526 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 0 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 66a699581..762814294 100644
--- a/Makefile
+++ b/Makefile
@@ -243,21 +243,6 @@ HAS_LINUX_MTD := $(call c_compile_test, Makefile.d/linux_mtd_test.c)
HAS_LINUX_SPI := $(call c_compile_test, Makefile.d/linux_spi_test.c)
HAS_LINUX_I2C := $(call c_compile_test, Makefile.d/linux_i2c_test.c)
-ifeq ($(TARGET_OS), $(filter $(TARGET_OS), FreeBSD OpenBSD DragonFlyBSD))
-override CPPFLAGS += -I/usr/local/include
-override LDFLAGS += -L/usr/local/lib
-endif
-
-ifeq ($(TARGET_OS), Darwin)
-override CPPFLAGS += -I/opt/local/include -I/usr/local/include
-override LDFLAGS += -L/opt/local/lib -L/usr/local/lib
-endif
-
-ifeq ($(TARGET_OS), NetBSD)
-override CPPFLAGS += -I/usr/pkg/include
-override LDFLAGS += -L/usr/pkg/lib
-endif
-
ifeq ($(TARGET_OS), DOS)
EXEC_SUFFIX := .exe
# DJGPP has odd uint*_t definitions which cause lots of format string warnings.