summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
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 00875e71d..d4cfab8c8 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -58,8 +58,12 @@ world: $(DISTDIR) $(BUILD_DIR) $(TARGET_DIR) $(PACKAGE_DIR) ${TOPDIR}/.cfg/ADK_H
ifeq ($(ADK_NATIVE),y)
$(MAKE) -f mk/build.mk toolchain/kernel-headers-prepare target/config-prepare target/compile package/compile root_clean package/install package_index target/install
else
+ifeq ($(ADK_TOOLCHAIN_ONLY),y)
+ $(MAKE) -f mk/build.mk toolchain/install package/compile
+else
$(MAKE) -f mk/build.mk toolchain/install target/config-prepare target/compile package/compile root_clean package/install package_index target/install
endif
+endif
package_index:
-cd ${PACKAGE_DIR} && \