Makefile.thumb (12464:a02f2484c710) Makefile.thumb (13103:ff21402d84f2)
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 35 unchanged lines hidden (view full) ---

44ifneq ($(shell uname -m), arm)
45CROSS_COMPILE?=arm-none-linux-gnueabi-
46endif
47CC=$(CROSS_COMPILE)gcc
48AS=$(CROSS_COMPILE)as
49LD=$(CROSS_COMPILE)ld
50AR=$(CROSS_COMPILE)ar
51
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 35 unchanged lines hidden (view full) ---

44ifneq ($(shell uname -m), arm)
45CROSS_COMPILE?=arm-none-linux-gnueabi-
46endif
47CC=$(CROSS_COMPILE)gcc
48AS=$(CROSS_COMPILE)as
49LD=$(CROSS_COMPILE)ld
50AR=$(CROSS_COMPILE)ar
51
52#CFLAGS=-O2 -march=armv7 -mthumb -I$(PWD)/../../include
53CFLAGS=-O2 -mthumb -I$(PWD)/../../include
52#CFLAGS=-O2 -march=armv7 -mthumb -I../../include
53CFLAGS=-O2 -mthumb -I../../include
54LDFLAGS=-L. -lm5
55
56OBJS=m5.o
57LIB_OBJS=m5op_arm.o m5_mmap.o
58
59all: libm5.a m5
60
61%.o: %.S

--- 14 unchanged lines hidden ---
54LDFLAGS=-L. -lm5
55
56OBJS=m5.o
57LIB_OBJS=m5op_arm.o m5_mmap.o
58
59all: libm5.a m5
60
61%.o: %.S

--- 14 unchanged lines hidden ---