summaryrefslogtreecommitdiff
path: root/util/marvell/doimage_mv/Makefile.inc
blob: 83665df0109717201189888e45eba048afc13aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DOIMAGE_FOLDER = marvell/doimage_mv
DOIMAGE_BINARY = doimage

CFLAGS  = -g -O1 -I./../inc -DMV_CPU_LE

$(objutil)/$(DOIMAGE_FOLDER):
	mkdir -p $@

$(objutil)/$(DOIMAGE_FOLDER)/doimage.o: $(top)/util/marvell/doimage_mv/doimage.c $(objutil)/$(DOIMAGE_FOLDER)
	$(HOSTCC) $(CFLAGS) -c $< -o $@

$(objutil)/$(DOIMAGE_FOLDER)/$(DOIMAGE_BINARY): $(objutil)/$(DOIMAGE_FOLDER)/doimage.o
	$(HOSTCC) $(CFLAGS) -o $@ $^