linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [DTC][PATCH] Fix cross-compile building
@ 2007-12-07 18:28 Kumar Gala
  2007-12-08  0:36 ` David Gibson
  0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2007-12-07 18:28 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: linuxppc-dev, stuarth

From: Stuart Hughes <stuarth@freescale.com>

This patch allows you to build the DTC source without making the
tests directory.  This is necessary when cross compiling as the
dumptest (and other) files cannot be run/used on the host system.
To use this use: 'make TESTS='

Signed-off-by: Stuart Hughes <stuarth@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index bcb143f..9d926b5 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,9 @@ else
 DEPTARGETS = $(filter-out $(NODEPTARGETS),$(MAKECMDGOALS))
 endif

-all: dtc ftdump libfdt tests
+TESTS = tests
+
+all: dtc ftdump libfdt $(TESTS)

 install: all
 	@$(VECHO) INSTALL
-- 
1.5.3.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-17  5:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 18:28 [DTC][PATCH] Fix cross-compile building Kumar Gala
2007-12-08  0:36 ` David Gibson
2007-12-08 12:53   ` Stuart Hughes
2007-12-14  5:57   ` Kumar Gala
2007-12-17  5:39     ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).