aboutsummaryrefslogtreecommitdiffstats
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
commit14be67809466ef612e619b7d8b1e8df42b4e075b (patch)
tree016fc4de832be636e9af52b9bebfc45308c65194 /include/kernel.mk
parent6e39367d4faefe4d03e91495f9a174019bd8ddab (diff)
downloadupstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.gz
upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.bz2
upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.zip
speed up the build system by including include/shell.sh on shell commands only where necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 f283e0febc..6ef4fd942d 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; \