From: Wolfgang Denk <wd@denx.de>
Date: Sat, 18 Jul 2009 16:00:25 +0000 (+0200)
Subject: pcm030: fix out-of-tree building
X-Git-Tag: v2025.01-rc5-pxa1908~21069
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=0a87dd90;p=u-boot.git

pcm030: fix out-of-tree building

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

diff --git a/Makefile b/Makefile
index 9e6346fa35..9ff846e681 100644
--- 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" ; \