From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9U27-0008Kc-Ru for barebox@lists.infradead.org; Wed, 23 Nov 2016 09:40:07 +0000 From: Sascha Hauer Date: Wed, 23 Nov 2016 10:39:29 +0100 Message-Id: <20161123093937.15711-2-s.hauer@pengutronix.de> In-Reply-To: <20161123093937.15711-1-s.hauer@pengutronix.de> References: <20161123093937.15711-1-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 02/10] nios2: Fix out of tree build To: Barebox List nios2 links the board specific nios_sopc.h to include/. The relative pathes used do not work with an out of tree build. Use absolute pathes instead. Signed-off-by: Sascha Hauer --- arch/nios2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 681944f..3e97155 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -7,7 +7,7 @@ KALLSYMS += --symbol-prefix=_ archprepare: maketools @$(kecho) " SYMLINK include/nios_sopc.h -> arch/nios2/boards/$(board-y)/nios_sopc.h" - @ln -fsn ../arch/nios2/boards/$(board-y)/nios_sopc.h include/nios_sopc.h + @ln -fsn $(src)/arch/nios2/boards/$(board-y)/nios_sopc.h $(obj)/include/nios_sopc.h PHONY += maketools -- 2.10.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox