[U-Boot-Users] [PATCH] SCM board: fix build errors.

Wolfgang Denk wd at denx.de
Sun Jul 6 00:38:08 CEST 2008


Signed-off-by: Wolfgang Denk <wd at denx.de>
---
 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 edc1820..ed67a09 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
-- 
1.5.5.1





More information about the U-Boot mailing list