9
0
Fork 0

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:
Sascha Hauer 2009-02-21 01:38:19 +01:00
parent 2703e60e43
commit b644a99ff2
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@