diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
---|---|---|
committer | <ralf@linux-mips.org> | 1997-01-07 02:33:00 +0000 |
commit | beb116954b9b7f3bb56412b2494b562f02b864b1 (patch) | |
tree | 120e997879884e1b9d93b265221b939d2ef1ade1 /arch/ppc/boot/Makefile | |
parent | 908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff) |
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'arch/ppc/boot/Makefile')
-rw-r--r-- | arch/ppc/boot/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/ppc/boot/Makefile b/arch/ppc/boot/Makefile new file mode 100644 index 000000000..1b5056bea --- /dev/null +++ b/arch/ppc/boot/Makefile @@ -0,0 +1,49 @@ +# +# arch/ppc/boot/Makefile +# +# 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. +# +# Copyright (C) 1994 by Linus Torvalds +# Adapted for PowerPC by Gary Thomas +# + +.c.s: + $(CC) $(CFLAGS) -S -o $*.s $< +.s.o: + $(AS) -o $*.o $< +.c.o: + $(CC) $(CFLAGS) -c -o $*.o $< +.S.s: + $(CC) -D__ASSEMBLY__ -traditional -E -o $*.o $< +.S.o: + $(CC) -D__ASSEMBLY__ -traditional -c -o $*.o $< + +OBJECTS = head.o main.o + +all: linux.boot mkboot + +linux.boot: $(TOPDIR)/vmlinux mkboot + rsh charon /bin/rm -f /usr/tftpboot/vmlinux + /bin/rm -f /usr/tftpboot/vmlinux + ./mkboot $(TOPDIR)/vmlinux /usr/tftpboot/vmlinux + rcp /usr/tftpboot/vmlinux charon:/usr/tftpboot/vmlinux + sync + +tImage: mk_type41 $(TOPDIR)/vmlinux mkboot + ./mkboot $(TOPDIR)/vmlinux vmlinux + mk_type41 vmlinux tImage + rm vmlinux + +mkboot : cortstrip.c + $(HOSTCC) -o mkboot cortstrip.c + +mk_type41: mk_type41.c + gcc -o mk_type41 mk_type41.c + +clean: + rsh charon /bin/rm -f /usr/tftpboot/vmlinux + /bin/rm -f /usr/tftpboot/vmlinux + +dep: |