Idwer Vollering has uploaded this change for review.
util/amdfwtool: clean up Makefile, Makefile.inc
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Change-Id: Ia16af046acdc68c176b1c4ff434518a5f8f8bf9e
---
M util/amdfwtool/Makefile
M util/amdfwtool/Makefile.inc
2 files changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/49086/1
diff --git a/util/amdfwtool/Makefile b/util/amdfwtool/Makefile
index 58606e3..00e6d59 100644
--- a/util/amdfwtool/Makefile
+++ b/util/amdfwtool/Makefile
@@ -9,7 +9,7 @@
$(TARGET): $(OBJ)
- $(CC) $(OBJ) $(LDFLAGS) -o $@
+ $(CC) $(OBJ) -o $@
%.o: %.c $(HEADER)
$(CC) $(CFLAGS) -c -o $@ $<
diff --git a/util/amdfwtool/Makefile.inc b/util/amdfwtool/Makefile.inc
index e794ed9..06a17f3 100644
--- a/util/amdfwtool/Makefile.inc
+++ b/util/amdfwtool/Makefile.inc
@@ -2,10 +2,8 @@
amdfwtoolobj = amdfwtool.o data_parse.o
-AMDFWTOOLCFLAGS=-O2 -Wall -Wextra -Wshadow
-
$(objutil)/amdfwtool/%.o: $(top)/util/amdfwtool/%.c # $(HEADER)
- $(HOSTCC) $(AMDFWTOOLCFLAGS) $(HOSTCFLAGS) -c -o $@ $<
+ $(HOSTCC) $(CFLAGS) -c -o $@ $<
$(objutil)/amdfwtool/amdfwtool: $(addprefix $(objutil)/amdfwtool/,$(amdfwtoolobj))
printf " AMDFWTOOL\n"
To view, visit change 49086. To unsubscribe, or for help writing mail filters, visit settings.