adaab4a97e
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I7cf35132df0bc23f7b6f78014ddd72d58ea2ab8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/68983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
14 lines
449 B
Makefile
14 lines
449 B
Makefile
## SPDX-License-Identifier: GPL-2.0-only
|
|
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 $@ $^
|