From c8f2a78958f75e4e3b3ffa53cc31333a264c8776 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 9 Feb 2015 06:01:44 +0100 Subject: add postimage script feature --- target/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/Makefile') diff --git a/target/Makefile b/target/Makefile index e6bbe9ef4..24403f53a 100644 --- a/target/Makefile +++ b/target/Makefile @@ -135,4 +135,8 @@ clean: $(ADK_TARGET_ARCH)-clean $(ADK_TARGET_ARCH)-imageclean %-imageinstall: %-imageprepare $(TRACE) target/$(patsubst %-imageinstall,%,$@)-imageinstall $(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall + for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh); do \ + [[ -x "$$x" ]] && $$x; \ + break; \ + done @echo "Login as user root via ssh or console." -- cgit v1.2.3