OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [ppc/] [boot/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1624 jcastillo
#
2
# arch/ppc/boot/Makefile
3
#
4
# This file is subject to the terms and conditions of the GNU General Public
5
# License.  See the file "COPYING" in the main directory of this archive
6
# for more details.
7
#
8
# Copyright (C) 1994 by Linus Torvalds
9
# Adapted for PowerPC by Gary Thomas
10
#
11
 
12
.c.s:
13
        $(CC) $(CFLAGS) -S -o $*.s $<
14
.s.o:
15
        $(AS) -o $*.o $<
16
.c.o:
17
        $(CC) $(CFLAGS) -c -o $*.o $<
18
.S.s:
19
        $(CC) -D__ASSEMBLY__ -traditional -E -o $*.o $<
20
.S.o:
21
        $(CC) -D__ASSEMBLY__ -traditional -c -o $*.o $<
22
 
23
OBJECTS = head.o main.o
24
 
25
all:    linux.boot mkboot
26
 
27
linux.boot: $(TOPDIR)/vmlinux mkboot
28
        rsh charon /bin/rm -f /usr/tftpboot/vmlinux
29
        /bin/rm -f /usr/tftpboot/vmlinux
30
        ./mkboot $(TOPDIR)/vmlinux /usr/tftpboot/vmlinux
31
        rcp /usr/tftpboot/vmlinux charon:/usr/tftpboot/vmlinux
32
        sync
33
 
34
tImage: mk_type41 $(TOPDIR)/vmlinux mkboot
35
        ./mkboot $(TOPDIR)/vmlinux vmlinux
36
        mk_type41 vmlinux tImage
37
        rm vmlinux
38
 
39
mkboot : cortstrip.c
40
        $(HOSTCC) -o mkboot cortstrip.c
41
 
42
mk_type41: mk_type41.c
43
        gcc -o mk_type41 mk_type41.c
44
 
45
clean:
46
        rsh charon /bin/rm -f /usr/tftpboot/vmlinux
47
        /bin/rm -f /usr/tftpboot/vmlinux
48
 
49
dep:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.