Martin Roth | adaab4a | 2022-10-28 22:38:44 -0600 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Ruilin Hao | c52d4f5 | 2015-12-10 00:36:10 -0800 | [diff] [blame] | 2 | DOIMAGE_FOLDER = marvell/doimage_mv |
| 3 | DOIMAGE_BINARY = doimage |
| 4 | |
| 5 | CFLAGS = -g -O1 -I./../inc -DMV_CPU_LE |
| 6 | |
| 7 | $(objutil)/$(DOIMAGE_FOLDER): |
| 8 | mkdir -p $@ |
| 9 | |
| 10 | $(objutil)/$(DOIMAGE_FOLDER)/doimage.o: $(top)/util/marvell/doimage_mv/doimage.c $(objutil)/$(DOIMAGE_FOLDER) |
| 11 | $(HOSTCC) $(CFLAGS) -c $< -o $@ |
| 12 | |
| 13 | $(objutil)/$(DOIMAGE_FOLDER)/$(DOIMAGE_BINARY): $(objutil)/$(DOIMAGE_FOLDER)/doimage.o |
| 14 | $(HOSTCC) $(CFLAGS) -o $@ $^ |