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

Subversion Repositories or1k_old

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1625 jcastillo
#
2
# ppc/Makefile
3
#
4
# This file is included by the global makefile so that you can add your own
5
# architecture-specific flags and dependencies. Remember to do have actions
6
# for "archclean" and "archdep" for cleaning up and making dependencies for
7
# this architecture
8
#
9
# This file is subject to the terms and conditions of the GNU General Public
10
# License.  See the file "COPYING" in the main directory of this archive
11
# for more details.
12
#
13
# Copyright (C) 1994 by Linus Torvalds
14
# Changes for PPC by Gary Thomas
15
#
16
 
17
# PowerPC (cross) tools
18
SUFFIX          =.ppc
19
#AS             = /u/cort/ppc/gcc/ppc-linux-elf/bin/as
20
AS              = as$(SUFFIX)
21
ASFLAGS         =
22
#LD             = /u/cort/ppc/gcc/ppc-linux-elf/bin/ld
23
LD              = ld$(SUFFIX)
24
LINKFLAGS       = -T arch/ppc/ld.script -Ttext 0x90000000
25
HOSTCC          = gcc
26
#CC             = /u/cort/ppc/gcc/bin/gcc
27
CC              = gcc$(SUFFIX)
28
#CC             = /u/cort/ppc/gcc/bin/gcc.ppc
29
CFLAGS          = -D__KERNEL__ -I$(TOPDIR)/include -D__powerpc__ \
30
                -Wstrict-prototypes \
31
                -fomit-frame-pointer \
32
                -fno-builtin \
33
                -finhibit-size-directive \
34
                -O2 -fsigned-char
35
CPP             = $(CC) -E $(CFLAGS)
36
#AR             = /u/cort/ppc/gcc/ppc-linux-elf/bin/ar
37
AR              = ar$(SUFFIX)
38
#RANLIB         = /u/cort/ppc/gcc/ppc-linux-elf/bin/ranlib
39
RANLIB          = ar$(SUFFIX)
40
#STRIP          = /u/cort/ppc/gcc/ppc-linux-elf/bin/strip
41
STRIP           = strip$(SUFFIX)
42
#NM             = /u/cort/ppc/gcc/ppc-linux-elf/bin/nm
43
NM              = nm$(SUFFIX)
44
 
45
#
46
# NFS_ROOT_NAME specifies the default name of the directory to mount
47
# as root via NFS, if the kernel does not get the "root=" option from
48
# the boot loader. The "%s" will be replaced by the IP-number of the
49
# local system.
50
#
51
NFS_ROOT = -DNFS_ROOT="\"/joplin/ppc/root/\""
52
 
53
HEAD := arch/ppc/kernel/head.o
54
 
55
ARCH_SUBDIRS = arch/ppc/kernel arch/ppc/mm arch/ppc/lib
56
SUBDIRS := $(SUBDIRS) $(ARCH_SUBDIRS)
57
ARCHIVES := arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o $(ARCHIVES)
58
 
59
 
60
MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
61
 
62
tImage: vmlinux
63
        @$(MAKEBOOT) tImage
64
 
65
 
66
 
67
arch/ppc/kernel: dummy
68
        $(MAKE) linuxsubdirs SUBDIRS=arch/ppc/kernel
69
 
70
arch/ppc/mm: dummy
71
        $(MAKE) linuxsubdirs SUBDIRS=arch/ppc/mm
72
 
73
arch/ppc/lib: dummy
74
        $(MAKE) linuxsubdirs SUBDIRS=arch/ppc/lib
75
 
76
 
77
archclean:
78
        /bin/rm -f arch/ppc/*/*.o #arch/ppc/kernel/mk_defs arch/ppc/kernel/ppc_defs.h
79
        /bin/rm -f arch/ppc/*~ arch/ppc/*/*~ include/asm-ppc/*~ arch/ppc/boot/mkboot
80
 
81
archdep:
82
 
83
corttags :
84
        etags arch/ppc/*/*.c include/asm-ppc/* drivers/*/*.c net/*.c */*.c

powered by: WebSVN 2.1.0

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