From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 14 Apr 2011 23:29:14 +0200 Subject: [U-Boot] [PATCH] arm: Tegra2: Fix out of tree builds In-Reply-To: References: Message-ID: <4DA7672A.4080104@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Anton, Sorry for the dela in replying. Le 05/04/2011 23:33, Anton Staaf a ?crit : > Create the board/nvidia/common directory in the out of tree build > directory. > > Without this patch building out of tree results in a failure to create > the board.o file in the build directory tree. > > Signed-off-by: Anton Staaf > Cc: Tom Warren > Cc: Albert ARIBAUD > --- > > An alternative solution would be to create a Makefile in the common directory > that creates an object/library that each board depends on. I'm not sure which > is better. I'd prefer the alternative solution -- the issue is with a common directory, so it seems logical that the solution is in the common part of the code rather than spread over the non-common variants. Amicalement, -- Albert.