[Crosstoolchain-logs] [device-tree-compiler] 49/357: Fix building of dumptrees

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit 156649d4f656f47017fabb2596495ffce124bba5
Author: David Gibson <dgibson at sneetch.(none)>
Date:   Wed Nov 29 13:34:22 2006 +1100

    Fix building of dumptrees
    
    Without this rather odd constrained pattern rule, make attempts to build
    dumptrees using the default %: %.c rule instead of the defined %: %.o and
    %.o: %.c rules.
---
 tests/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index db27d07..2b165dc 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -33,18 +33,18 @@ all:	$(TESTS) $(TREES)
 	@$(VECHO) AS $@
 	$(CC) -D__ASSEMBLY__ $(CPPFLAGS) -o $@ -c $<
 
-$(TREES): trees.o dumptrees
-	@$(VECHO) DUMPTREES
-	./dumptrees >/dev/null
-
 %: %.o
 	@$(VECHO) LD $@
 	$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
 
-dumptrees: trees.o
-
 $(LIB_TESTS): %: testutils.o $(LIBFDT)
 
+dumptrees: %: trees.o
+
+$(TREES): dumptrees
+	@$(VECHO) DUMPTREES
+	./dumptrees >/dev/null
+
 clean:
 	@$(VECHO) CLEAN "(tests)"
 	rm -f *~ *.o *.so *.a *.d *.s core a.out

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list