support board vendor-common makefiles
authorKim Phillips <kim.phillips@freescale.com>
Tue, 21 Aug 2007 22:00:17 +0000 (17:00 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 29 Aug 2007 00:15:46 +0000 (02:15 +0200)
commit7608d75f9c87c9eb5b3a43219d0506d3e979a13f
tree6370fbb2dd1c25a645144617427e10eb28fb98df
parentef8f20752712dc1cdbd86f47e3bd6e35f81c83fd
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>
Makefile
board/freescale/common/Makefile [new file with mode: 0644]
board/freescale/common/pixis.c
board/freescale/common/pq-mds-pib.c
board/freescale/mpc832xemds/Makefile
board/freescale/mpc8360emds/Makefile
board/freescale/mpc8544ds/Makefile
board/freescale/mpc8641hpcn/Makefile
include/configs/MPC8544DS.h
include/configs/MPC8641HPCN.h