summaryrefslogtreecommitdiff
path: root/openwrt/package/kernel/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-07-18 16:35:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-07-18 16:35:03 +0000
commitdf56b7997890662b9d5c8d913f039972f501c9ff (patch)
treea9a1d5b9c4bb5b8c1c8904a8e3ccc6f34697f85c /openwrt/package/kernel/Makefile
parent2721d25c5baebb172de9f0b94631dddb24f6f426 (diff)
downloadmtk-20170518-df56b7997890662b9d5c8d913f039972f501c9ff.zip
mtk-20170518-df56b7997890662b9d5c8d913f039972f501c9ff.tar.gz
mtk-20170518-df56b7997890662b9d5c8d913f039972f501c9ff.tar.bz2
move the cryptoapi kmod to package/kernel
SVN-Revision: 4149
Diffstat (limited to 'openwrt/package/kernel/Makefile')
-rw-r--r--openwrt/package/kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/kernel/Makefile b/openwrt/package/kernel/Makefile
index f3a9a28..0a26cd6 100644
--- a/openwrt/package/kernel/Makefile
+++ b/openwrt/package/kernel/Makefile
@@ -42,14 +42,14 @@ define ModuleAutoLoad
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
}; \
$(3) \
- [ -n "$$$$$$$$modules" ] && { \
+ if [ -n "$$$$$$$$modules" ]; then \
mkdir -p $(2)/etc/modules.d; \
echo "#!/bin/sh" >> $(2)/CONTROL/postinst; \
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit" >> $(2)/CONTROL/postinst; \
echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
echo "load_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst; \
chmod 0755 $(2)/CONTROL/postinst; \
- }
+ fi
endef