pcm030: fix out-of-tree building
authorWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 16:00:25 +0000 (18:00 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Jul 2009 16:00:25 +0000 (18:00 +0200)
Commit c9969947, which added support for the pcm030 board
(aka phyCORE-MPC5200B-tiny), broke out-of-tree building.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Makefile

index 9e6346fa3553b82d07a98dc73a7886b611449692..9ff846e6810f62128210d2746f4a3da7827e9515 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -698,7 +698,7 @@ o2dnt_config:       unconfig
 
 pcm030_config \
 pcm030_LOWBOOT_config: unconfig
-       @ >include/config.h
+       @ >$(obj)include/config.h
        @[ -z "$(findstring LOWBOOT_,$@)" ] || \
                { echo "TEXT_BASE = 0xFF000000" >$(obj)board/phytec/pcm030/config.tmp ; \
                  echo "... with LOWBOOT configuration" ; \