diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-08-21 17:00:17 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-29 02:15:46 +0200 |
commit | 7608d75f9c87c9eb5b3a43219d0506d3e979a13f (patch) | |
tree | 6370fbb2dd1c25a645144617427e10eb28fb98df /Makefile | |
parent | ef8f20752712dc1cdbd86f47e3bd6e35f81c83fd (diff) | |
download | u-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.zip u-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.tar.gz u-boot-imx-7608d75f9c87c9eb5b3a43219d0506d3e979a13f.tar.bz2 |
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 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -190,6 +190,8 @@ endif OBJS := $(addprefix $(obj),$(OBJS)) LIBS = lib_generic/libgeneric.a +LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ + "board/$(VENDOR)/common/lib$(VENDOR).a"; fi) LIBS += board/$(BOARDDIR)/lib$(BOARD).a LIBS += cpu/$(CPU)/lib$(CPU).a ifdef SOC |