diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/esd/pmc405de/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/esd/pmc405de/Makefile b/board/esd/pmc405de/Makefile index 327e51e..f435495 100644 --- a/board/esd/pmc405de/Makefile +++ b/board/esd/pmc405de/Makefile @@ -22,12 +22,15 @@ # include $(TOPDIR)/config.mk +ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../common) +endif LIB = $(obj)lib$(BOARD).a COBJS-y = $(BOARD).o COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o -COBJS += ../common/cmd_loadpci.o +COBJS-y += ../common/cmd_loadpci.o COBJS := $(COBJS-y) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |