patch-2.4.0-test4 linux/arch/mips/orion/Makefile
Next file: linux/arch/mips/orion/int-handler.S
Previous file: linux/arch/mips/ld.script.little
Back to the patch index
Back to the overall index
- Lines: 49
- Date:
Tue Jul 11 11:14:48 2000
- Orig file:
v2.4.0-test3/linux/arch/mips/orion/Makefile
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.0-test3/linux/arch/mips/orion/Makefile linux/arch/mips/orion/Makefile
@@ -0,0 +1,48 @@
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License. See the file "COPYING" in the main directory of this archive
+# for more details.
+#
+#
+# Produce a bootimage for the IPSX
+# Copyright (C) 2000 Cort Dougan <cort@fsmlabs.com>
+#
+
+.S.s:
+ $(CPP) $(CFLAGS) $< -o $*.s
+.S.o:
+ $(CC) $(CFLAGS) -c $< -o $*.o
+
+OBJS = promcon.o char.o serial.8530.o orion.hw.init.o setup.o irq.o int-handler.o
+
+all: orionkern.a
+
+orionkern.a: $(OBJS) initrd.o #no_initrd.o
+ $(AR) rcs orionkern.a $(OBJS) initrd.o #no_initrd.o
+ sync
+
+initrd.c: piggyback ramdisk.image.gz
+ ./piggyback initrd < ramdisk.image.gz > initrd.c
+
+piggyback: piggyback.c
+ $(HOSTCC) $(HOSTCFLAGS) -o piggyback piggyback.c
+
+orionboot: orion.ctl
+
+patchapp: patchapp.c
+ $(HOSTCC) -o $@ $^
+
+orion.ctl: patchapp ../../../vmlinux
+ $(OBJCOPY) -Obinary ../../../vmlinux orion.nosym
+ ./patchapp orion.nosym orion
+ cp -f orion.bin orion.ctl
+
+# Don't build dependencies, this may die if $(CC) isn't gcc
+dep:
+
+clean:
+ rm -f patchapp orion.bin orion.nosym orion.ctl initrd.c
+
+dummy:
+
+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)