From 907407830ed5597ea640012a2bc078c2c0d0d730 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 23 Aug 2022 18:07:54 +0200 Subject: [PATCH] ich_descriptors_tool/Makefile: Add missing `override` for CFLAGS This allows to build `ich_descriptors_tool` with custom CFLAGS in the environment. Change-Id: If10f08e44141d05f0ee52615303652da576d2fc6 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/flashrom/+/66979 Tested-by: build bot (Jenkins) Reviewed-by: Thomas Heijligen --- util/ich_descriptors_tool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ich_descriptors_tool/Makefile b/util/ich_descriptors_tool/Makefile index 4d971f551..aa1b696c3 100644 --- a/util/ich_descriptors_tool/Makefile +++ b/util/ich_descriptors_tool/Makefile @@ -21,7 +21,7 @@ SRC = $(wildcard *.c) # If the user has specified custom CFLAGS, all CFLAGS settings below will be # completely ignored by gnumake. CFLAGS ?= -Os -Wall -Wshadow -CFLAGS += -I$(SHAREDSRCDIR)/include +override CFLAGS += -I$(SHAREDSRCDIR)/include # Auto determine HOST_OS and TARGET_OS if they are not set as argument HOST_OS ?= $(shell uname)