patch-2.4.19 linux-2.4.19/arch/mips/sibyte/swarm/Makefile

Next file: linux-2.4.19/arch/mips/sibyte/swarm/cfe_api.c
Previous file: linux-2.4.19/arch/mips/sibyte/sb1250/time.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/sibyte/swarm/Makefile linux-2.4.19/arch/mips/sibyte/swarm/Makefile
@@ -0,0 +1,30 @@
+USE_STANDARD_AS_RULE := true
+
+all: sbswarm.a
+
+OBJS-y                   = setup.o cmdline.o memory.o cfe_api.o rtc_xicor1241.o
+
+OBJS-$(CONFIG_SMP)      += smp.o
+
+OBJS-$(CONFIG_L3DEMO)   += procl3switch.o l3procbootstrap.o l3proc.o
+OBJS-$(CONFIG_REMOTE_DEBUG) += dbg_io.o
+
+#XMITTER=1
+
+ifdef XMITTER
+l3proc.bin: xmitter
+	ln xmitter l3proc.bin
+else
+l3proc.bin: l3proc
+	ln l3proc l3proc.bin
+endif
+
+l3proc.o: l3proc.bin
+	mips-linux-ld -Tl3proc.lds -bbinary -o l3proc.o l3proc.bin
+
+sbswarm.a: $(OBJS-y)
+	$(AR) rcs sbswarm.a $^
+	rm -f l3proc.o l3proc.bin
+
+include $(TOPDIR)/Rules.make
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)