r2112 - trunk/src/target/u-boot/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Fri Jun 1 03:31:13 CEST 2007


Author: werner
Date: 2007-06-01 03:31:09 +0200 (Fri, 01 Jun 2007)
New Revision: 2112

Added:
   trunk/src/target/u-boot/patches/lowlevel_foo_qt2410.patch
Log:
board/qt2410/Makefile: add QT2410-specific lowlevel_foo



Added: trunk/src/target/u-boot/patches/lowlevel_foo_qt2410.patch
===================================================================
--- trunk/src/target/u-boot/patches/lowlevel_foo_qt2410.patch	2007-05-31 16:27:18 UTC (rev 2111)
+++ trunk/src/target/u-boot/patches/lowlevel_foo_qt2410.patch	2007-06-01 01:31:09 UTC (rev 2112)
@@ -0,0 +1,38 @@
+Index: u-boot/board/qt2410/Makefile
+===================================================================
+--- u-boot.orig/board/qt2410/Makefile
++++ u-boot/board/qt2410/Makefile
+@@ -28,14 +28,31 @@
+ OBJS	:= qt2410.o flash.o
+ SOBJS	:= lowlevel_init.o
+ 
++.PHONY:	all
++
++all:	$(LIB) lowevel_foo.bin
++
+ $(LIB):	$(OBJS) $(SOBJS)
+ 	$(AR) crv $@ $(OBJS) $(SOBJS)
+ 
++lowlevel_foo.o:	../neo1973/common/lowlevel_foo.S
++	$(CC) -c -DTEXT_BASE=0x33F80000 -march=armv4 \
++	  -o lowlevel_foo.o ../neo1973/common/lowlevel_foo.S
++
++lowlevel_foo:	lowlevel_foo.o lowlevel_init.o \
++		../neo1973/common/lowlevel_foo.lds
++	$(LD) -T ../neo1973/common/lowlevel_foo.lds -Ttext 0x33f80000 -Bstatic \
++          lowlevel_init.o lowlevel_foo.o -o lowlevel_foo
++
++lowevel_foo.bin:	lowlevel_foo
++	$(CROSS_COMPILE)objcopy --gap-fill=0xff -O binary \
++	  lowlevel_foo lowlevel_foo.bin
++
+ clean:
+-	rm -f $(SOBJS) $(OBJS)
++	rm -f $(SOBJS) $(OBJS) lowlevel_foo lowlevel_foo.o
+ 
+ distclean:	clean
+-	rm -f $(LIB) core *.bak .depend
++	rm -f $(LIB) core *.bak .depend lowlevel_foo.bin
+ 
+ #########################################################################
+ 





More information about the commitlog mailing list