From aa13aeadc05142bd71eb7a6c6742b5a0c8cc9ee9 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Fri, 9 Aug 2024 14:23:14 -0600 Subject: util/marvell/doimage_mv: Update CFLAGS to CFLAGS_doimage Because we import the doimage_mv/Makefile.mk directly into the main coreboot makefile, this was setting a global CFLAGS variable. That's not a huge issue since coreboot doesn't use the global CFLAGS variable, but it should be updated anyway. Signed-off-by: Martin Roth Change-Id: Iebe281ca891745c1f993df274ef75b1440059c85 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83857 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- util/marvell/doimage_mv/Makefile.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/marvell/doimage_mv') diff --git a/util/marvell/doimage_mv/Makefile.mk b/util/marvell/doimage_mv/Makefile.mk index 3f4f528abd..6f3a401fea 100644 --- a/util/marvell/doimage_mv/Makefile.mk +++ b/util/marvell/doimage_mv/Makefile.mk @@ -3,13 +3,13 @@ TOP = $(abspath ../../..) DOIMAGE_FOLDER = marvell/doimage_mv DOIMAGE_BINARY = doimage -CFLAGS = -g -O1 -I./../inc -DMV_CPU_LE -I $(TOP)/src/commonlib/bsd/include +CFLAGS_doimage = -g -O1 -I./../inc -DMV_CPU_LE -I $(TOP)/src/commonlib/bsd/include $(objutil)/$(DOIMAGE_FOLDER): mkdir -p $@ $(objutil)/$(DOIMAGE_FOLDER)/doimage.o: $(top)/util/marvell/doimage_mv/doimage.c $(objutil)/$(DOIMAGE_FOLDER) - $(HOSTCC) $(CFLAGS) -c $< -o $@ + $(HOSTCC) $(CFLAGS_doimage) -c $< -o $@ $(objutil)/$(DOIMAGE_FOLDER)/$(DOIMAGE_BINARY): $(objutil)/$(DOIMAGE_FOLDER)/doimage.o - $(HOSTCC) $(CFLAGS) -o $@ $^ + $(HOSTCC) $(CFLAGS_doimage) -o $@ $^ -- cgit v1.2.3