[coreboot-gerrit] New patch to review for coreboot: ifdtool/Makefile: use static dependencies
Alexander Couzens (lynxis@fe80.eu)
gerrit at coreboot.org
Sat Sep 10 18:38:14 CEST 2016
Alexander Couzens (lynxis at fe80.eu) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16572
-gerrit
commit 80e5aaa33d9c4a3a26cbafc511afaf7b9ab59a76
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Sat Sep 10 18:36:16 2016 +0200
ifdtool/Makefile: use static dependencies
The generated dependencies doesn't work when
used together with our main build system.
Change-Id: I93d26858e961d7e275d586a1b8a26b3d33f3bd41
Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
util/ifdtool/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/util/ifdtool/Makefile b/util/ifdtool/Makefile
index 7a1bcfa..77547ef 100644
--- a/util/ifdtool/Makefile
+++ b/util/ifdtool/Makefile
@@ -30,17 +30,16 @@ $(PROGRAM): $(OBJS)
clean:
rm -f $(PROGRAM) *.o *~
-
distclean: clean
- rm -f .dependencies
dep:
@$(CC) $(CFLAGS) -MM *.c > .dependencies
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
install: $(PROGRAM)
mkdir -p $(DESTDIR)$(PREFIX)/bin
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
.PHONY: all clean distclean dep
-
--include .dependencies
More information about the coreboot-gerrit
mailing list