summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2015-06-19 14:27:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-20 03:15:46 -0500
commit141a95c1d9d746d9b6a246d8db69ebf438f1e8c6 (patch)
treef68b24fc211a4d974997b23ade2f448bdcb85eef /target/Makefile
parent02f0b74d3200b876c8320012c1246644f2cfebcc (diff)
add customisation point before creating image
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/Makefile b/target/Makefile
index 4f63a3fb1..a0b99fc0e 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -135,6 +135,10 @@ clean: $(ADK_TARGET_ARCH)-clean $(ADK_TARGET_ARCH)-imageclean
%-imageprepare:
$(TRACE) target/$(patsubst %-imageprepare,%,$@)-imageprepare
+ @for x in $$(ls $(ADK_TOPDIR)/scripts/preimage/*.sh 2>/dev/null); do \
+ [[ -x "$$x" ]] && $$x; \
+ break; \
+ done
$(MAKE) -C $(patsubst %-imageprepare,%,$@) imageprepare
%-compile: %-prepare