diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-02-09 06:01:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-02-09 06:01:44 +0100 |
commit | c8f2a78958f75e4e3b3ffa53cc31333a264c8776 (patch) | |
tree | 541989fdc1122c353cc66431d111cf3aec3e64a1 /target | |
parent | 04c36baff7046c5efbef07d2d5df778950c3e40c (diff) |
add postimage script feature
Diffstat (limited to 'target')
-rw-r--r-- | target/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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." |