summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-29 14:16:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-29 14:16:42 +0200
commitfb5986b361eae7893a57e92ec0a4f820b89bc527 (patch)
treec9ca3a4d0375cb0f71699ad263a16e3549581cf8 /mk/build.mk
parent023429a695e318bdbceef0ce5903060d361e15b2 (diff)
rework toolchain only option
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 8646c79bc..da78089e2 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -123,9 +123,13 @@ world:
ifeq ($(ADK_NATIVE),y)
$(MAKE) -f mk/build.mk toolchain/kernel-headers-prepare tools/install target/config-prepare target/compile package/compile root_clean package/install package_index target/install
else
+ifeq ($(ADK_TOOLCHAIN),y)
ifeq ($(ADK_TOOLCHAIN_ONLY),y)
$(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install package/compile
else
+ $(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install package/compile root_clean package/install
+endif
+else
$(MAKE) -f mk/build.mk toolchain/install tools/install jtools/install target/config-prepare target/compile package/compile root_clean package/install target/install package_index
endif
endif