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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [m68knommu/] [platform/] [5307/] [Rules.make] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#
2
# 5307/Makefile
3
#
4
# This file is included by the global makefile so that you can add your own
5
# platform-specific flags and dependencies.
6
#
7
# This file is subject to the terms and conditions of the GNU General Public
8
# License.  See the file "COPYING" in the main directory of this archive
9
# for more details.
10
#
11
# Copyright (C) 1999 by Greg Ungerer (gerg@moreton.com.au)
12
# Copyright (C) 1998,1999  D. Jeff Dionne 
13
# Copyright (C) 1998       Kenneth Albanowski 
14
# Copyright (C) 1994 by Hamish Macdonald
15
#
16
 
17
CROSS_COMPILE = $(GCC_EXEC_PREFIX)
18
 
19
INCGCC = $(TOOLS)/gcc-include
20
LIBGCC = $(TOOLS)/gcc-lib/libgcc.a
21
 
22
CFLAGS := $(CFLAGS) -I$(INCGCC) -pipe -DNO_MM -DNO_FPU -m5200 -Wa,-S -Wa,-m5200 -D__ELF__ -DMAGIC_ROM_PTR -DUTS_SYSNAME='"uClinux"'
23
AFLAGS := $(CFLAGS)
24
 
25
LINKFLAGS = -T arch/$(ARCH)/platform/$(PLATFORM)/$(BOARD)/$(MODEL).ld
26
 
27
HEAD := arch/$(ARCH)/platform/$(PLATFORM)/$(BOARD)/crt0_$(MODEL).o
28
 
29
SUBDIRS := arch/$(ARCH)/kernel arch/$(ARCH)/mm arch/$(ARCH)/lib \
30
           arch/$(ARCH)/platform/$(PLATFORM) $(SUBDIRS)
31
ARCHIVES := arch/$(ARCH)/kernel/kernel.o arch/$(ARCH)/mm/mm.o \
32
            arch/$(ARCH)/platform/$(PLATFORM)/platform.o $(ARCHIVES)
33
LIBS += arch/$(ARCH)/lib/lib.a $(LIBGCC)
34
 
35
MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
36
 
37
archclean:
38
        @$(MAKEBOOT) clean
39
 

powered by: WebSVN 2.1.0

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