diff options
author | wbx <wbx@openbsd.my.domain> | 2015-12-11 20:03:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-12-11 22:09:56 +0100 |
commit | fba2ff31928b18364c1934654169806f5c800e23 (patch) | |
tree | 54b21d52f020460253241439b29745b54c460a5a /target/Makefile | |
parent | 08f07c80cd46b2d6495ebbfedd742255e9873d3b (diff) |
rework prereq check
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/Makefile')
-rw-r--r-- | target/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/target/Makefile b/target/Makefile index d6cfa0bf8..c0a76f1d8 100644 --- a/target/Makefile +++ b/target/Makefile @@ -122,19 +122,25 @@ install: $(ADK_TARGET_ARCH)-imageclean $(ADK_TARGET_ARCH)-install $(ADK_TARGET_A clean: $(ADK_TARGET_ARCH)-clean $(ADK_TARGET_ARCH)-imageclean %-clean: - $(TRACE) target/$(patsubst %-clean,%,$@)-clean + $(START_TRACE) "target/$(patsubst %-clean,%,$@)-clean.. " $(MAKE) -C $(patsubst %-clean,%,$@) clean + $(CMD_TRACE) " done" + $(END_TRACE) %-imageclean: - $(TRACE) target/$(patsubst %-imageclean,%,$@)-imageclean + $(START_TRACE) "target/$(patsubst %-imageclean,%,$@)-imageclean.. " $(MAKE) -C $(patsubst %-imageclean,%,$@) imageclean + $(CMD_TRACE) " done" + $(END_TRACE) %-prepare: - $(TRACE) target/$(patsubst %-prepare,%,$@)-prepare + $(START_TRACE) "target/$(patsubst %-prepare,%,$@)-prepare.. " $(MAKE) -C $(patsubst %-prepare,%,$@) prepare + $(CMD_TRACE) " done" + $(END_TRACE) %-imageprepare: - $(TRACE) target/$(patsubst %-imageprepare,%,$@)-imageprepare + $(START_TRACE) "target/$(patsubst %-imageprepare,%,$@)-imageprepare.. " ifeq ($(ADK_RUNTIME_DEV_UDEV),y) # This should be made a package instead $(CP) -a $(BUILD_DIR)/linux-$(ADK_TARGET_ARCH)/modules/lib $(TARGET_DIR) @@ -146,23 +152,28 @@ endif break; \ done $(MAKE) -C $(patsubst %-imageprepare,%,$@) imageprepare + $(CMD_TRACE) " done" + $(END_TRACE) %-compile: %-prepare - $(TRACE) target/$(patsubst %-compile,%,$@)-compile $(MAKE) -C $(patsubst %-compile,%,$@) compile %-install: %-compile - $(TRACE) target/$(patsubst %-install,%,$@)-install + $(START_TRACE) "target/$(patsubst %-install,%,$@)-install.. " $(MAKE) -C $(patsubst %-install,%,$@) install + $(CMD_TRACE) " done" + $(END_TRACE) %-targethelp: $(MAKE) -C $(patsubst %-targethelp,%,$@) targethelp %-imageinstall: %-imageprepare - $(TRACE) target/$(patsubst %-imageinstall,%,$@)-imageinstall + $(START_TRACE) "target/$(patsubst %-imageinstall,%,$@)-imageinstall.. " $(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall @for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh 2>/dev/null); do \ [[ -x "$$x" ]] && $$x; \ break; \ done + $(CMD_TRACE) " done" + $(END_TRACE) @echo "Login as user root via ssh or console." |