summaryrefslogtreecommitdiffstats
path: root/target/linux/package
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package')
-rw-r--r--target/linux/package/switch/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/package/switch/Makefile b/target/linux/package/switch/Makefile
index cecdccca1..c86147930 100644
--- a/target/linux/package/switch/Makefile
+++ b/target/linux/package/switch/Makefile
@@ -31,11 +31,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_KMOD_SWITCH):
install -m0755 -d $(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
- install -m0755 -d $(IDIR_KMOD_SWITCH)/etc/modules.d
cp -fpR $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
$(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
- echo "switch-core" > $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
- echo "switch-robo" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
- echo "switch-adm" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
$(IPKG_BUILD) $(IDIR_KMOD_SWITCH) $(PACKAGE_DIR)