diff options
author | sascha <sascha@nomad.localdomain> | 2007-10-17 19:02:56 +0200 |
---|---|---|
committer | sascha <sascha@nomad.localdomain> | 2007-10-17 19:02:56 +0200 |
commit | f8ccf74934712f6bba0fd6e6f0075cc02cd9e89b (patch) | |
tree | c2a1593cf8a5535c109ec7c56c150ef33a33ea5f /Makefile | |
parent | 5d746e895307d77de4f80fa058a1178700e89905 (diff) | |
download | barebox-f8ccf74934712f6bba0fd6e6f0075cc02cd9e89b.tar.gz barebox-f8ccf74934712f6bba0fd6e6f0075cc02cd9e89b.tar.xz |
Toplevel Makefile: fix link for include/config.h for external builds
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -787,7 +787,11 @@ include/asm: include/config.h: @echo ' SYMLINK $@ -> include/configs/$(board-y).h' +ifneq ($(KBUILD_SRC),) + $(Q)ln -fsn $(srctree)/include/configs/$(board-y).h $@ +else @ln -fsn configs/$(board-y).h $@ +endif # Generate some files # --------------------------------------------------------------------------- |