Browse Source

PMC440 board: fix board Makefile for out-of-tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk 17 years ago
parent
commit
6d714f82fb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      board/esd/pmc440/Makefile

+ 3 - 0
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