summaryrefslogtreecommitdiff
path: root/system/arm/simple_bootloader/Makefile
diff options
context:
space:
mode:
authorPrakash Ramrakhyani <Prakash.Ramrakhyani@arm.com>2011-05-04 20:38:27 -0500
committerPrakash Ramrakhyani <Prakash.Ramrakhyani@arm.com>2011-05-04 20:38:27 -0500
commitf7380052669eb7030e73d4799fb448ffc8e78680 (patch)
tree44f1ec5a6056eca04e1e03876ac2e55dcded9bee /system/arm/simple_bootloader/Makefile
parent307f089e7f67d4a314e95a3f53b721e0971e2183 (diff)
downloadgem5-f7380052669eb7030e73d4799fb448ffc8e78680.tar.xz
ARM: Boot loader changes that make it more flexible about load and I/O addrs
Diffstat (limited to 'system/arm/simple_bootloader/Makefile')
-rw-r--r--system/arm/simple_bootloader/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/arm/simple_bootloader/Makefile b/system/arm/simple_bootloader/Makefile
index 43cd88376..098f3724a 100644
--- a/system/arm/simple_bootloader/Makefile
+++ b/system/arm/simple_bootloader/Makefile
@@ -34,25 +34,25 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Authors: Ali Saidi
+# Prakash Ramrakhyani
-# Need to have CROSS_COMPILE set to /path/to/bin/arm-none-eabi-
-# arm-unknown-linux-gnu- might also work
-#
-#
-CROSS_COMPILE=arm-none-eabi-
+# Need to have CROSS_COMPILE set to /path/to/bin/arm-unknown-linux-gnu-
+# or have arm-unknown-linux-gnu in your path
+
+CROSS_COMPILE?=arm-none-linux-gnueabi-
CC=$(CROSS_COMPILE)gcc
CPP=$(CROSS_COMPILE)g++
LD=$(CROSS_COMPILE)ld
-all: boot
+all: boot.arm
-boot.o: boot.S
- $(CC) -mfloat-abi=softfp -march=armv7-a -mfpu=vfpv3 -mthumb -fno-builtin -nostdinc -o boot.o -c boot.S
+boot.o: simple.S
+ $(CC) -mfloat-abi=softfp -march=armv7-a -fno-builtin -nostdinc -o boot.o -c simple.S
boot.arm: boot.o
- $(LD) -o boot.arm -N -Ttext 0 boot.o -non_shared -static
+ $(LD) -o boot.arm -N -Ttext 0x80000000 boot.o -non_shared -static
clean: