summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-21 01:38:19 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-19 12:21:58 +0100
commitb644a99ff2622c9703cb2b5fdc0b0fc237dfa503 (patch)
tree37748a0664679b7fab9ef11802e58b5c6aefee01
parent2703e60e4329c69cf0e1bc6300ad8428c63b7adf (diff)
downloadbarebox-b644a99ff2622c9703cb2b5fdc0b0fc237dfa503.tar.gz
barebox-b644a99ff2622c9703cb2b5fdc0b0fc237dfa503.tar.xz
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>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf7d67009a..407e656509 100644
--- a/Makefile
+++ b/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 $@