diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-08-21 22:00:17 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-29 00:15:46 (GMT) |
commit | 7608d75f9c87c9eb5b3a43219d0506d3e979a13f (patch) | |
tree | 6370fbb2dd1c25a645144617427e10eb28fb98df /board/freescale/mpc8544ds | |
parent | ef8f20752712dc1cdbd86f47e3bd6e35f81c83fd (diff) | |
download | u-boot-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.tar.xz |
support board vendor-common makefiles
if a board/$(VENDOR)/common/Makefile exists, build it.
also add the first such case, board/freescale/common/Makefile, to
handle building board-shared EEPROM, PIXIS, and MDS-PIB code, as
dictated by board configuration.
thusly get rid of alternate build dir errors such as:
FATAL: can't create /work/wd/tmp/u-boot-ppc/board/freescale/mpc8360emds/../common/pq-mds-pib.o: No such file or directory
by putting the common/ mkdir command in its proper place (the common
Makefile). Common bits from existing individual board Makefiles have
been removed.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/freescale/mpc8544ds')
-rw-r--r-- | board/freescale/mpc8544ds/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/board/freescale/mpc8544ds/Makefile b/board/freescale/mpc8544ds/Makefile index 308f707..006fdc9 100644 --- a/board/freescale/mpc8544ds/Makefile +++ b/board/freescale/mpc8544ds/Makefile @@ -24,14 +24,9 @@ include $(TOPDIR)/config.mk -ifneq ($(OBJTREE),$(SRCTREE)) -$(shell mkdir -p $(obj)../common) -endif - LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o \ - ../common/pixis.o +COBJS := $(BOARD).o SOBJS := init.o |