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>
This commit is contained in:
parent
49fc4a6052
commit
f3738224ec
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue