This is an automated email from Gerrit.

Andreas Färber ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/3504

-- gerrit

commit 5304fed3211b5a7377f57f1f2f69920e82c402cb
Author: Andreas Färber <[email protected]>
Date:   Sun May 22 16:57:16 2016 +0200

    contrib/loaders: Add umbrella Makefile
    
    Add a Makefile that orchestrates the other loader Makefiles.
    It assumes that the clean target can be run without cross toolchain.
    
    at91sam7x does not yet successfully build, so just prepare it.
    
    Add an exception to .gitignore for any contrib/loaders Makefile.
    
    Change-Id: I74456b768472f3190a1721bcf41a777bb8daf973
    Signed-off-by: Andreas Färber <[email protected]>

diff --git a/.gitignore b/.gitignore
index 3e6e1e9..0f217a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
index 0000000..186c45f
--- /dev/null
+++ b/contrib/loaders/Makefile
@@ -0,0 +1,34 @@
+.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:
+       #$(MAKE) -C flash/at91sam7x all TRGT=$(ARM_CROSS_COMPILE)
+       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) flash/at91sam7x; do \
+               $(MAKE) -C $$d clean; \
+       done
+
+clean: clean-arm
+       for d in checksum erase_check watchdog; do \
+               $(MAKE) -C $$d clean; \
+       done

-- 

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to