aboutsummaryrefslogtreecommitdiffstats
path: root/package/rt2x00
diff options
context:
space:
mode:
Diffstat (limited to 'package/rt2x00')
-rw-r--r--package/rt2x00/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile
index 0a49818eb5..c9502d83cc 100644
--- a/package/rt2x00/Makefile
+++ b/package/rt2x00/Makefile
@@ -42,8 +42,8 @@ endef
define Package/kmod-rt2x00/install
mkdir -p $(1)/etc/modules.d
- install -m0644 ./files/rt2x00.modules $(1)/etc/modules.d/10-ralink
- install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
+ $(INSTALL_DATA) ./files/rt2x00.modules $(1)/etc/modules.d/10-ralink
+ $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX) \
$(1)/lib/modules/$(LINUX_VERSION)/
endef