summaryrefslogtreecommitdiff
path: root/include/kernel.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-08-19 12:49:37 +0000
commita9136c0892fa5fa1627c2502d309eeb8cda187f8 (patch)
tree626476203a2fc0de4f74dd79615b0f30a850401c /include/kernel.mk
parentcaf173f8693cb0ec6a4bf9755caa01482c01f92b (diff)
downloadmtk-20170518-a9136c0892fa5fa1627c2502d309eeb8cda187f8.zip
mtk-20170518-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.gz
mtk-20170518-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.bz2
speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
Diffstat (limited to 'include/kernel.mk')
-rw-r--r--include/kernel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index f283e0f..6ef4fd9 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -64,6 +64,7 @@ define KernelPackage/Defaults
endef
define ModuleAutoLoad
+ $(SH_FUNC) \
export modules=; \
add_module() { \
mkdir -p $(2)/etc/modules.d; \