soc/intel/xeon_sp: Align resources to 4K
[coreboot2.git] / util / marvell / doimage_mv / Makefile.mk
blob3f4f528abdf549c084e96498488a1b67ecda79dd
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):
9 mkdir -p $@
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 $@ $^