diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-03 23:00:24 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-03 23:00:24 +0200 |
commit | ad756314797c16fa5dca23e115aab881011f164f (patch) | |
tree | 612f6c78062daf9ad49ebde4cfa9a9a31e737f5e | |
parent | ced209c50e80c25f13c083099b05044048d21f4f (diff) | |
download | u-boot-imx-ad756314797c16fa5dca23e115aab881011f164f.zip u-boot-imx-ad756314797c16fa5dca23e115aab881011f164f.tar.gz u-boot-imx-ad756314797c16fa5dca23e115aab881011f164f.tar.bz2 |
CCM board: fix build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r-- | board/siemens/CCM/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/board/siemens/CCM/Makefile b/board/siemens/CCM/Makefile index e053c7d..fd3edb4 100644 --- a/board/siemens/CCM/Makefile +++ b/board/siemens/CCM/Makefile @@ -22,6 +22,7 @@ # include $(TOPDIR)/config.mk + ifneq ($(OBJTREE),$(SRCTREE)) $(shell mkdir -p $(obj)../common) $(shell mkdir -p $(obj)../../tqm8xx) @@ -30,15 +31,21 @@ endif LIB = $(obj)lib$(BOARD).a COBJS = ccm.o flash.o fpga_ccm.o ../common/fpga.o \ - ../../tqm8xx/load_sernum_ethaddr.o + ../../tqc/tqm8xx/load_sernum_ethaddr.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) -$(LIB): $(obj).depend $(OBJS) +$(LIB): $(OBJS) $(AR) $(ARFLAGS) $@ $(OBJS) +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak $(obj).depend + ######################################################################### # defines $(obj).depend target |