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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [mep/] [t-mep] - Blame information for rev 867

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

Line No. Rev Author Line
1 709 jeremybenn
# -*- makefile -*-
2
# GCC makefile fragment for MeP
3
# Copyright (C) 2001, 2002, 2003, 2005, 2007, 2009, 2010, 2011
4
# Free Software Foundation, Inc.
5
# Contributed by Red Hat Inc
6
#
7
# This file is part of GCC.
8
#
9
# GCC is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by
11
# the Free Software Foundation; either version 3, or (at your option)
12
# any later version.
13
#
14
# GCC is distributed in the hope that it will be useful, but WITHOUT
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
17
# License for more details.
18
#
19
# You should have received a copy of the GNU General Public License
20
# along with GCC; see the file COPYING3.  If not see
21
# .  */
22
 
23
# Force genpreds to be rebuilt in case MeP-Integrator changed the predicates
24
 
25
GTM_H = tm.h $(tm_file_list) $(srcdir)/config/mep/mep-intrin.h insn-constants.h
26
 
27
TCFLAGS = -mlibrary
28
 
29
mep-pragma.o: $(srcdir)/config/mep/mep-pragma.c $(CONFIG_H) $(SYSTEM_H) \
30
        coretypes.h $(TM_H) $(TREE_H) $(RTL_H) $(C_PRAGMA_H) \
31
        $(CPPLIB_H) hard-reg-set.h output.h $(srcdir)/config/mep/mep-protos.h \
32
        function.h insn-config.h reload.h $(TARGET_H)
33
        $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
34
 
35
MULTILIB_OPTIONS = mel mall-opts mfar
36
MULTILIB_DIRNAMES = el allopt far
37
 
38
MD_INCLUDES = \
39
        $(srcdir)/config/mep/intrinsics.md \
40
        $(srcdir)/config/mep/predicates.md \
41
        $(srcdir)/config/mep/constraints.md
42
 
43
mep.o : $(srcdir)/config/mep/mep-intrin.h
44
 
45
# begin-isas
46
MEP_CORE = ext_core1
47
MEP_COPRO = ext_cop1_16,ext_cop1_32,ext_cop1_48,ext_cop1_64
48
# end-isas
49
 
50
# To use this, you must have cgen and cgen/cpu in the same source tree as
51
# gcc.
52
cgen-maint :
53
        S=`cd $(srcdir); pwd`; \
54
        cd $$S/config/mep && \
55
        guile -s $$S/../cgen/cgen-intrinsics.scm \
56
                -s $$S/../cgen \
57
                $(CGENFLAGS) \
58
                -a $$S/../cgen/cpu/mep.cpu \
59
                -m mep,c5 \
60
                -i mep,$(MEP_CORE),$(MEP_COPRO) \
61
                -K mep,$(MEP_CORE),$(MEP_COPRO) \
62
                -M intrinsics.md \
63
                -N mep-intrin.h \
64
                -P intrinsics.h
65
 
66
# start-extra-headers
67
EXTRA_HEADERS = $(srcdir)/config/mep/intrinsics.h \
68
        $(srcdir)/config/mep/default.h
69
# end-extra-headers

powered by: WebSVN 2.1.0

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