summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@ $^