summaryrefslogtreecommitdiff
path: root/util/marvell/doimage_mv
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-08-09 14:23:14 -0600
committerMartin L Roth <gaumless@gmail.com>2024-10-14 15:26:38 +0000
commitaa13aeadc05142bd71eb7a6c6742b5a0c8cc9ee9 (patch)
tree8b3c27dfe701282ec2564dc55e013cc82e577203 /util/marvell/doimage_mv
parent135a75826bb1315d641c9a8c0c383f1df7e0ae24 (diff)
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 <gaumless@gmail.com> Change-Id: Iebe281ca891745c1f993df274ef75b1440059c85 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83857 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'util/marvell/doimage_mv')
-rw-r--r--util/marvell/doimage_mv/Makefile.mk6
1 files changed, 3 insertions, 3 deletions
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 $@ $^