Makefile (8024:27ce7490bd3b) Makefile (8026:680f5c014bed)
1# Copyright (c) 2005
2# The Regents of The University of Michigan
3# All Rights Reserved
4#
1# Copyright (c) 2005
2# The Regents of The University of Michigan
3# All Rights Reserved
4#
5# This code is part of the M5 simulator, developed by Nathan Binkert,
6# Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
7# from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew
8# Schultz.
5# This code is part of the M5 simulator.
9#
10# Permission is granted to use, copy, create derivative works and
11# redistribute this software and such derivative works for any purpose,
12# so long as the copyright notice above, this grant of permission, and
13# the disclaimer below appear in all copies made; and so long as the
14# name of The University of Michigan is not used in any advertising or
15# publicity pertaining to the use or distribution of this software
16# without specific, written prior authorization.
17#
18# THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
19# UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
20# WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
21# IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
22# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
23# THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
24# INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
25# DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
26# WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
27# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
6#
7# Permission is granted to use, copy, create derivative works and
8# redistribute this software and such derivative works for any purpose,
9# so long as the copyright notice above, this grant of permission, and
10# the disclaimer below appear in all copies made; and so long as the
11# name of The University of Michigan is not used in any advertising or
12# publicity pertaining to the use or distribution of this software
13# without specific, written prior authorization.
14#
15# THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
16# UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
17# WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
18# IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
19# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
20# THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
21# INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
22# DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
23# WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
24# ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
25#
26# Authors: Nathan L. Binkert
27# Ali G. Saidi
28
29### If we are not compiling on an alpha, we must use cross tools ###
30ifneq ($(shell uname -m), alpha)
31CROSS_COMPILE?=alpha-unknown-linux-gnu-
32endif
33CC=$(CROSS_COMPILE)gcc
34AS=$(CROSS_COMPILE)as
35LD=$(CROSS_COMPILE)ld

--- 26 unchanged lines hidden ---
28
29### If we are not compiling on an alpha, we must use cross tools ###
30ifneq ($(shell uname -m), alpha)
31CROSS_COMPILE?=alpha-unknown-linux-gnu-
32endif
33CC=$(CROSS_COMPILE)gcc
34AS=$(CROSS_COMPILE)as
35LD=$(CROSS_COMPILE)ld

--- 26 unchanged lines hidden ---