|
@ -86,6 +86,7 @@ clean: host_clean |
|
|
|
|
|
|
|
|
all_platforms: |
|
|
all_platforms: |
|
|
$(Q)set -e ;\
|
|
|
$(Q)set -e ;\
|
|
|
|
|
|
mkdir -p artifacts ;\
|
|
|
for i in platforms/*/Makefile.inc ; do \
|
|
|
for i in platforms/*/Makefile.inc ; do \
|
|
|
export DIRNAME=`dirname $$i` ;\
|
|
|
export DIRNAME=`dirname $$i` ;\
|
|
|
export PROBE_HOST=`basename $$DIRNAME` ;\
|
|
|
export PROBE_HOST=`basename $$DIRNAME` ;\
|
|
@ -94,7 +95,7 @@ all_platforms: |
|
|
$(MAKE) $(MAKEFLAGS) clean ;\
|
|
|
$(MAKE) $(MAKEFLAGS) clean ;\
|
|
|
$(MAKE) $(MAKEFLAGS);\
|
|
|
$(MAKE) $(MAKEFLAGS);\
|
|
|
if [ -f blackmagic.bin ]; then \
|
|
|
if [ -f blackmagic.bin ]; then \
|
|
|
mv blackmagic.bin blackmagic-$$PROBE_HOST.bin ;\
|
|
|
mv blackmagic.bin artifacts/blackmagic-$$PROBE_HOST.bin ;\
|
|
|
fi ;\
|
|
|
fi ;\
|
|
|
done |
|
|
done |
|
|
|
|
|
|
|
@ -103,4 +104,3 @@ include/version.h: FORCE |
|
|
$(Q)echo "#define FIRMWARE_VERSION \"`git describe --dirty`\"" > $@ |
|
|
$(Q)echo "#define FIRMWARE_VERSION \"`git describe --dirty`\"" > $@ |
|
|
|
|
|
|
|
|
-include *.d |
|
|
-include *.d |
|
|
|
|
|
|
|
|