aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitedd5b112c52ea86cf5edd3d21e320d7dc42f5737 (patch)
tree145219bf6dd2a7e6af6308fd805722b899f98573 /package/kernel/Makefile
parent5a4df085be850789bf98d4a5e0f537f24420696b (diff)
downloadupstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.tar.gz
upstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.tar.bz2
upstream-edd5b112c52ea86cf5edd3d21e320d7dc42f5737.zip
move the cryptoapi kmod to package/kernel
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4149 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/Makefile')
-rw-r--r--package/kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index f3a9a287ed..0a26cd6cf1 100644
--- a/package/kernel/Makefile
+++ b/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