From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D537FDDDF4 for ; Sat, 8 Dec 2007 05:30:09 +1100 (EST) Date: Fri, 7 Dec 2007 12:28:20 -0600 (CST) From: Kumar Gala To: Jon Loeliger Subject: [DTC][PATCH] Fix cross-compile building Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, stuarth@freescale.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Stuart Hughes 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 Signed-off-by: Kumar Gala --- 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