recreate symlink to board config if necessary
When changing the board it is necessary to change the symlink from include/config.h to the new board Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2703e60e43
commit
b644a99ff2
2
Makefile
2
Makefile
|
@ -785,7 +785,7 @@ include/asm:
|
|||
$(Q)if [ ! -d include ]; then mkdir -p include; fi;
|
||||
@ln -fsn asm-$(ARCH) $@
|
||||
|
||||
include/config.h:
|
||||
include/config.h: include/config/auto.conf
|
||||
@echo ' SYMLINK $@ -> board/$(board-y)/config.h'
|
||||
ifneq ($(KBUILD_SRC),)
|
||||
$(Q)ln -fsn $(srctree)/board/$(board-y)/config.h $@
|
||||
|
|
Loading…
Reference in New Issue