summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2018-08-16 21:49:48 +0200
committerGogs <gogs@fake.local>2018-08-16 21:49:48 +0200
commit71bd053dc6b5677d8de0fab9d2f7e512a09e7ad6 (patch)
tree83c060bb6e269ee4267c7e59dac4242faf8bfa69 /target/Makefile
parent56d412cecdfb4c0be541db9ef4153f7616608d28 (diff)
parentdee2a0e2483bfda415c64f8e168763c63e71f7f6 (diff)
Merge branch 'gogs-master' of ableton-dir/openadk into master
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 846620d6c..128d272de 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -228,6 +228,12 @@ endif
$(MAKE) -C $(patsubst %-targethelp,%,$@) targethelp
%-imageinstall: %-imageprepare
+ifdef ADK_POST_BUILD_ACTION
+ifneq ($(ADK_POST_BUILD_ACTION),"")
+ @printf "running post build action '$(ADK_POST_BUILD_ACTION)'\n"
+ $(ADK_TOPDIR)/$(ADK_POST_BUILD_ACTION) $(ADK_TOPDIR)
+endif
+endif
$(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall
@for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh 2>/dev/null); do \
[[ -x "$$x" ]] && $$x; \