diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-01-15 20:58:17 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-01-15 20:58:17 +0000 |
commit | cb3f970b6c61d0643839f9261ddcce2b8664eac7 (patch) | |
tree | f7664449506392161bcd70ac7cc4d6a70952a6de /testing/examples/ledtest-imx27ads/Makefile | |
parent | 2e0f28149d46f128cf6851e76bf541f66b484fd5 (diff) | |
download | openocd_libswd-cb3f970b6c61d0643839f9261ddcce2b8664eac7.tar.gz openocd_libswd-cb3f970b6c61d0643839f9261ddcce2b8664eac7.tar.bz2 openocd_libswd-cb3f970b6c61d0643839f9261ddcce2b8664eac7.tar.xz openocd_libswd-cb3f970b6c61d0643839f9261ddcce2b8664eac7.zip |
- add missing svn props from 1323 commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@1324 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'testing/examples/ledtest-imx27ads/Makefile')
-rw-r--r-- | testing/examples/ledtest-imx27ads/Makefile | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/testing/examples/ledtest-imx27ads/Makefile b/testing/examples/ledtest-imx27ads/Makefile index 42516492..4009c41b 100644 --- a/testing/examples/ledtest-imx27ads/Makefile +++ b/testing/examples/ledtest-imx27ads/Makefile @@ -1,42 +1,42 @@ -# This will make the test program for a Freescale iMX27 ADS Board with a
-# FreeScale iMX27 CPU
-
-PROC=arm
-TYPE=926ejs-linux
-LDSCRIPT=ldscript
-
-PATH:=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/:$(PATH)
-CC=$(PROC)-$(TYPE)-gcc
-AS=$(PROC)-$(TYPE)-as
-AR=$(PROC)-$(TYPE)-ar
-LD=$(PROC)-$(TYPE)-ld
-NM=$(PROC)-$(TYPE)-nm
-OBJDUMP=$(PROC)-$(TYPE)-objdump
-CFLAGS= -g -c -mcpu=arm920t
-
-all: test.elf
-
-# Make a little endian image:
-# In Eclipse, add the line :
-# source gdbinit
-# to : Run -> Debug... (menu) -> Commands (tab): Commands (listbox)
-# To start gdb from a window use : arm-elf-gdb --command=gdbinit
-test.elf: test.c Makefile ldscript crt0.S
- $(CC) $(CFLAGS) -o crt0.o crt0.S
- $(CC) $(CFLAGS) -o test.o test.c
- $(LD) -g -v -T$(LDSCRIPT) -o test.elf crt0.o test.o
- $(NM) test.elf
-
-
-dump:
- $(OBJDUMP) --all-headers test.elf
-
-dump_test:
- $(OBJDUMP) --disassemble test.elf
-
-dump_full:
- $(OBJDUMP) --full-contents test.elf
-
-clean:
- -/bin/rm -f *.o *~ test.elf
-
+# This will make the test program for a Freescale iMX27 ADS Board with a +# FreeScale iMX27 CPU + +PROC=arm +TYPE=926ejs-linux +LDSCRIPT=ldscript + +PATH:=/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/bin/:$(PATH) +CC=$(PROC)-$(TYPE)-gcc +AS=$(PROC)-$(TYPE)-as +AR=$(PROC)-$(TYPE)-ar +LD=$(PROC)-$(TYPE)-ld +NM=$(PROC)-$(TYPE)-nm +OBJDUMP=$(PROC)-$(TYPE)-objdump +CFLAGS= -g -c -mcpu=arm920t + +all: test.elf + +# Make a little endian image: +# In Eclipse, add the line : +# source gdbinit +# to : Run -> Debug... (menu) -> Commands (tab): Commands (listbox) +# To start gdb from a window use : arm-elf-gdb --command=gdbinit +test.elf: test.c Makefile ldscript crt0.S + $(CC) $(CFLAGS) -o crt0.o crt0.S + $(CC) $(CFLAGS) -o test.o test.c + $(LD) -g -v -T$(LDSCRIPT) -o test.elf crt0.o test.o + $(NM) test.elf + + +dump: + $(OBJDUMP) --all-headers test.elf + +dump_test: + $(OBJDUMP) --disassemble test.elf + +dump_full: + $(OBJDUMP) --full-contents test.elf + +clean: + -/bin/rm -f *.o *~ test.elf + |