summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-16 04:05:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-16 04:05:13 +0100
commit5b1d047a6451b3505a02a35989e135ac814cd507 (patch)
tree03a514437aba2fe3389061f19f2d84472beae8fb /package/base-files/Makefile
parent8da0566c68ce4351ed2582bbdcb5c69a11e1f6e6 (diff)
allow to disable kernel module autoloading mechanism, useful when a big defconfig is used
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index ebfe9c1ee..3b822dc58 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.1
-PKG_RELEASE:= 24
+PKG_RELEASE:= 25
PKG_SECTION:= base/apps
PKG_DESCR:= basic files and scripts
@@ -36,6 +36,9 @@ ifeq ($(ADK_RUNTIME_INIT_SYSTEMD),)
cp ./files/fstab $(IDIR_BASE_FILES)/etc
cp ./files/modules $(IDIR_BASE_FILES)/etc
ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab
+ifeq ($(ADK_RUNTIME_LOAD_KERNEL_MODULES),)
+ -rm $(IDIR_BASE_FILES)/etc/init.d/kmod
+endif
ifeq ($(ADK_TARGET_WITH_NETDEVICE),y)
cp ./files/interfaces-dhcp $(IDIR_BASE_FILES)/etc/network/interfaces
cp ./files/rc.netinfo $(IDIR_BASE_FILES)/etc/