ARM: fix out-of-tree build of imx31_phycore_eet
authorGuennadi Liakhovetski <lg@denx.de>
Sat, 4 Apr 2009 22:37:07 +0000 (00:37 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 4 Apr 2009 23:34:36 +0000 (01:34 +0200)
Fix out-of-tree build of the imx31_phycore_eet target.

Reported-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Makefile

index bc44c0260f02b9e52dfee46ae7c805f143503b07..49b83c0c4906371a7ff15d63ba2c8fcbc47935cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3070,6 +3070,7 @@ imx31_litekit_config      : unconfig
 
 imx31_phycore_eet_config \
 imx31_phycore_config   : unconfig
+       @mkdir -p $(obj)include
        @if [ -n "$(findstring _eet_,$@)" ]; then                       \
                echo "#define CONFIG_IMX31_PHYCORE_EET" >> $(obj)include/config.h;      \
        fi