90baf6a403
BUG=None TEST=Build Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I7746430c24dd052c435561236454b456bc597517 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50644 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
12 lines
431 B
Makefile
12 lines
431 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
amdfwtoolobj = amdfwtool.o data_parse.o
|
|
|
|
AMDFWTOOLCFLAGS=-O2 -Wall -Wextra -Wshadow -Werror
|
|
|
|
$(objutil)/amdfwtool/%.o: $(top)/util/amdfwtool/%.c # $(HEADER)
|
|
$(HOSTCC) $(AMDFWTOOLCFLAGS) $(HOSTCFLAGS) -c -o $@ $<
|
|
|
|
$(objutil)/amdfwtool/amdfwtool: $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj))
|
|
printf " AMDFWTOOL\n"
|
|
$(HOSTCC) $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj)) -o $@
|