* dtc: Don't build tests as part of "all"
@ 2007-12-17 5:39 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2007-12-17 5:39 UTC (permalink / raw)
To: Jon Loeliger; +Cc: linuxppc-dev
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.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Index: dtc/Makefile
===================================================================
--- dtc.orig/Makefile 2007-12-17 16:34:48.000000000 +1100
+++ dtc/Makefile 2007-12-17 16:34:57.000000000 +1100
@@ -46,7 +46,7 @@ else
DEPTARGETS = $(filter-out $(NODEPTARGETS),$(MAKECMDGOALS))
endif
-all: dtc ftdump libfdt tests
+all: dtc ftdump libfdt
install: all
@$(VECHO) INSTALL
--
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-17 5:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 5:39 dtc: Don't build tests as part of "all" David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox