From patchwork Mon Sep 5 19:37:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 113433 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 69D2DB6F76 for ; Tue, 6 Sep 2011 05:37:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 142EA28090; Mon, 5 Sep 2011 21:37:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DCyGKBJHNSWW; Mon, 5 Sep 2011 21:37:40 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 613752809A; Mon, 5 Sep 2011 21:37:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6410E2809A for ; Mon, 5 Sep 2011 21:37:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id el1gBCp6oT0s for ; Mon, 5 Sep 2011 21:37:34 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by theia.denx.de (Postfix) with ESMTP id 6385528090 for ; Mon, 5 Sep 2011 21:37:33 +0200 (CEST) Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 5B027188B594; Mon, 5 Sep 2011 21:37:31 +0200 (CEST) X-Auth-Info: 7ZrR0oEihQsMm05K/Gz2cCC+WSG9OgU84C/z+YEkSgk= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id BBB431C001BC; Mon, 5 Sep 2011 21:37:31 +0200 (CEST) Received: from gemini.denx.de (unknown [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id 9AB26C00E410; Mon, 5 Sep 2011 21:37:31 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id 76ADC158D113; Mon, 5 Sep 2011 21:37:31 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Mon, 5 Sep 2011 21:37:27 +0200 Message-Id: <1315251447-23869-1-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1315242025-5360-1-git-send-email-wd@denx.de> References: <1315242025-5360-1-git-send-email-wd@denx.de> Cc: Tom Warren Subject: [U-Boot] [PATCH] harmony / seaboard: fix out of tree building X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Out of tree building of the "harmony" and "seaboard" boards failed like this: Configuring for harmony board... Assembler messages: Fatal error: can't create /work/wd/tmp-arm/board/nvidia/harmony/../common/board.o: No such file or directory make[1]: *** [/work/wd/tmp-arm/board/nvidia/harmony/../common/board.o] Error 2 Signed-off-by: Wolfgang Denk Cc: Albert ARIBAUD Cc: Tom Warren --- This replaces [PATCH] harmony: fix out of tree building; both Nvidia boards have the same problem, so fix them in one go. board/nvidia/harmony/Makefile | 4 ++++ board/nvidia/seaboard/Makefile | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/board/nvidia/harmony/Makefile b/board/nvidia/harmony/Makefile index 9fb6b57..ebd8e02 100644 --- a/board/nvidia/harmony/Makefile +++ b/board/nvidia/harmony/Makefile @@ -24,6 +24,10 @@ include $(TOPDIR)/config.mk +ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../common) +endif + LIB = $(obj)lib$(BOARD).o COBJS := $(BOARD).o diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile index 9fb6b57..ebd8e02 100644 --- a/board/nvidia/seaboard/Makefile +++ b/board/nvidia/seaboard/Makefile @@ -24,6 +24,10 @@ include $(TOPDIR)/config.mk +ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../common) +endif + LIB = $(obj)lib$(BOARD).o COBJS := $(BOARD).o