contrib/loaders: Add umbrella Makefile 04/3504/4
authorAndreas Färber <afaerber@suse.de>
Sun, 22 May 2016 14:57:16 +0000 (16:57 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Aug 2016 08:17:24 +0000 (09:17 +0100)
Add a Makefile that orchestrates the other loader Makefiles.
It assumes that the clean target can be run without cross toolchain.

at91sam7x does not successfully build and is not really needed either,
therefore left out.

Add an exception to .gitignore for any contrib/loaders Makefile.

Change-Id: I74456b768472f3190a1721bcf41a777bb8daf973
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3504
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
.gitignore
contrib/loaders/Makefile [new file with mode: 0644]

index 3e6e1e94feb7d94eff32ce482000382db5994f58..0f217a980eaf4b38c2f7ec05e8289f2da89b6cb4 100644 (file)
@@ -71,6 +71,7 @@ install-sh
 libtool
 ltmain.sh
 Makefile
+!contrib/loaders/**/Makefile
 mdate-sh
 missing
 stamp-h1
diff --git a/contrib/loaders/Makefile b/contrib/loaders/Makefile
new file mode 100644 (file)
index 0000000..cd37dde
--- /dev/null
@@ -0,0 +1,33 @@
+.PHONY: arm clean-arm
+
+all: arm
+
+common_dirs = \
+       checksum \
+       erase_check \
+       flash/kinetis_ke \
+       watchdog
+
+ARM_CROSS_COMPILE ?= arm-none-eabi-
+
+arm_dirs = \
+       flash/fm4 \
+       flash/xmc1xxx
+
+arm:
+       for d in $(common_dirs); do \
+               $(MAKE) -C $$d arm; \
+       done
+       for d in $(arm_dirs); do \
+               $(MAKE) -C $$d all CROSS_COMPILE=$(ARM_CROSS_COMPILE); \
+       done
+
+clean-arm:
+       for d in $(arm_dirs); do \
+               $(MAKE) -C $$d clean; \
+       done
+
+clean: clean-arm
+       for d in $(common_dirs); do \
+               $(MAKE) -C $$d clean; \
+       done

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)