1 ## SPDX-License-Identifier: GPL-2.0-only
2 TOP
= $(abspath ..
/..
/..
)
3 DOIMAGE_FOLDER
= marvell
/doimage_mv
4 DOIMAGE_BINARY
= doimage
6 CFLAGS
= -g
-O1
-I.
/..
/inc
-DMV_CPU_LE
-I
$(TOP
)/src
/commonlib
/bsd
/include
8 $(objutil
)/$(DOIMAGE_FOLDER
):
11 $(objutil
)/$(DOIMAGE_FOLDER
)/doimage.o
: $(top
)/util
/marvell
/doimage_mv
/doimage.c
$(objutil
)/$(DOIMAGE_FOLDER
)
12 $(HOSTCC
) $(CFLAGS
) -c
$< -o
$@
14 $(objutil
)/$(DOIMAGE_FOLDER
)/$(DOIMAGE_BINARY
): $(objutil
)/$(DOIMAGE_FOLDER
)/doimage.o
15 $(HOSTCC
) $(CFLAGS
) -o
$@
$^