From dd794323a2a1ed6a8a5df51785c31bcde60ad7ca Mon Sep 17 00:00:00 2001
From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Date: Tue, 9 Sep 2008 09:50:24 +0200
Subject: [PATCH] ppc4xx: Fix out-of-tree building of CPCI405 variants

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Acked-by: Stefan Roese <sr@denx.de>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index a342a88083..93c22d1fce 100644
--- a/Makefile
+++ b/Makefile
@@ -1248,6 +1248,7 @@ CPCI405_config:		unconfig
 CPCI4052_config		\
 CPCI405DT_config	\
 CPCI405AB_config:	unconfig
+	@mkdir -p $(obj)board/esd/cpci405
 	@echo "TEXT_BASE = 0xFFFC0000" > $(obj)board/esd/cpci405/config.tmp
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
 
-- 
GitLab