summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-07 16:03:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-07 16:03:04 +0100
commit43c90eb66af7dab30f7826159688f15f641f95ad (patch)
tree7f13801ed7c622993234b4c5314f7b6f30a58b39 /mk
parent426e6ef0749fcc407512f130d463019334b8886c (diff)
fix build bug, found by joerg.
It seems to be a problem to call PKG_INSTALL via $(shell ..)
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index 970120270..79cb7f9cc 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -53,8 +53,12 @@ compile: $(LINUX_DIR)/vmlinux
install: compile
ifneq ($(strip $(INSTALL_TARGETS)),)
$(TRACE) target/${ADK_TARGET}-modules-install
+ifeq ($(ADK_TARGET_PACKAGE_IPKG),y)
+ $(PKG_INSTALL) $(INSTALL_TARGETS) $(MAKE_TRACE)
+else
$(foreach pkg,$(INSTALL_TARGETS),$(shell $(PKG_INSTALL) $(pkg)))
endif
+endif
clean:
rm -rf $(LINUX_BUILD_DIR)