diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-11-23 09:17:53 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-10 08:27:33 +0100 |
commit | f3738224ec9b485feb3dd5923c9eee9c42c2367f (patch) | |
tree | 16d24f12f953095ec666767c17565c48205bbb61 /arch/nios2 | |
parent | 49fc4a6052c25fb0fb24a783a93e0b052ecd5b08 (diff) | |
download | barebox-f3738224ec9b485feb3dd5923c9eee9c42c2367f.tar.gz barebox-f3738224ec9b485feb3dd5923c9eee9c42c2367f.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |