From 6d714f82fb4b8bb7e267e9c71b8009bc670bfe88 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Sun, 13 Jan 2008 16:44:08 +0100 Subject: [PATCH] PMC440 board: fix board Makefile for out-of-tree building Signed-off-by: Wolfgang Denk --- board/esd/pmc440/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/esd/pmc440/Makefile b/board/esd/pmc440/Makefile index 4dd9c386cd..68b566c4a6 100644 --- a/board/esd/pmc440/Makefile +++ b/board/esd/pmc440/Makefile @@ -22,6 +22,9 @@ # include $(TOPDIR)/config.mk +ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../common) +endif LIB = $(obj)lib$(BOARD).a