Skip to contentSkip to conversation

dtc: Don't build tests as part of "all"

PATCH David Gibson 1 participant 1 message Dec 17, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

Currently "make all" for dtc will build (but not run) the testcase binaries. This is a problem for cross compiles, because building the tests will attempt to run the dumptrees utility on the host system, which won't work if it's cross-compiled of course.

Although it would be possible to separately build host binaries, there's not a lot of value in doing so since we don't have a facility for cross-executing the testsuite anyway.

Therefore, remove the tests from the "all" target. It will still, of course, be build as a prerequisite to "make check" which will run the testsuite.

Makefile +1 -1
Index: dtc/Makefile
===================================================================
@@ -46,7 +46,7 @@ else
 DEPTARGETS = $(filter-out $(NODEPTARGETS),$(MAKECMDGOALS))
 endif
 
-all: dtc ftdump libfdt tests
+all: dtc ftdump libfdt
 
 install: all
 	@$(VECHO) INSTALL
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson