diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-03 23:22:27 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-03 23:22:27 +0200 |
commit | ab4c3a490df9a964711556d2a05b0c787db45fde (patch) | |
tree | 5afca275f4dba819f5ccf6c23afafdb2e870ffb9 /board | |
parent | a566466f17ba0e2d2b6c250e77da678fb932470d (diff) | |
download | u-boot-ab4c3a490df9a964711556d2a05b0c787db45fde.tar.gz u-boot-ab4c3a490df9a964711556d2a05b0c787db45fde.tar.bz2 u-boot-ab4c3a490df9a964711556d2a05b0c787db45fde.zip |
SCM board: fix build errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/siemens/SCM/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/board/siemens/SCM/Makefile b/board/siemens/SCM/Makefile index edc1820007..ed67a09bf5 100644 --- a/board/siemens/SCM/Makefile +++ b/board/siemens/SCM/Makefile @@ -22,23 +22,30 @@ # include $(TOPDIR)/config.mk + ifneq ($(OBJTREE),$(SRCTREE)) $(shell mkdir -p $(obj)../common) -$(shell mkdir -p $(obj)../../tqm8xx/) +$(shell mkdir -p $(obj)../../tqm8xx) endif LIB = $(obj)lib$(BOARD).a COBJS = scm.o flash.o fpga_scm.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 |