2020-09-29 11:32:36 +02:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2020-10-28 04:38:09 +01:00
|
|
|
amdfwtoolobj = amdfwtool.o data_parse.o
|
2020-09-29 11:32:36 +02:00
|
|
|
|
2021-02-14 05:49:59 +01:00
|
|
|
AMDFWTOOLCFLAGS=-O2 -Wall -Wextra -Wshadow -Werror
|
2020-09-29 11:32:36 +02:00
|
|
|
|
|
|
|
$(objutil)/amdfwtool/%.o: $(top)/util/amdfwtool/%.c # $(HEADER)
|
2020-09-28 04:36:29 +02:00
|
|
|
$(HOSTCC) $(AMDFWTOOLCFLAGS) $(HOSTCFLAGS) -c -o $@ $<
|
2020-09-29 11:32:36 +02:00
|
|
|
|
|
|
|
$(objutil)/amdfwtool/amdfwtool: $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj))
|
|
|
|
printf " AMDFWTOOL\n"
|
|
|
|
$(HOSTCC) $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj)) -o $@
|