summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2015-08-29 22:53:10 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-08-30 07:50:46 +0200
commit7375933dff337bf1f31dfc40c28771ad80bcec07 (patch)
treed36b7eaa9d2f3c495cd88e6abb49afe208fdf8db /mk
parent8925bc9783fa56a6aa0a2fd9eeb25832180a07b9 (diff)
skip building and installing kmod packages if using udev
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index 63b3b5b7e..7194bc4dd 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -61,6 +61,7 @@ $(LINUX_BUILD_DIR)/modules: $(LINUX_DIR)/$(KERNEL_FILE)
DEPMOD=$(ADK_DEPMOD) \
INSTALL_MOD_PATH=$(LINUX_BUILD_DIR)/modules \
modules_install $(MAKE_TRACE)
+ifneq ($(ADK_RUNTIME_DEV_UDEV),y)
$(TRACE) target/$(ADK_TARGET_ARCH)-create-packages
@mkdir -p ${PACKAGE_DIR}
PATH='${HOST_PATH}' ${BASH} ${SCRIPT_DIR}/make-module-ipkgs.sh \
@@ -69,6 +70,7 @@ $(LINUX_BUILD_DIR)/modules: $(LINUX_DIR)/$(KERNEL_FILE)
"${LINUX_BUILD_DIR}" \
"${PKG_BUILD}" \
"${PACKAGE_DIR}"
+endif
prepare:
ifneq ($(KERNEL_MODULES_USED),)