From f3738224ec9b485feb3dd5923c9eee9c42c2367f Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 23 Nov 2016 09:17:53 +0100 Subject: nios2: Fix out of tree build 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(-) (limited to 'arch/nios2') diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 681944f22d..3e97155e7c 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 -- cgit v1.2.3