patch from #989 (thanks Bartman007)
[openwrt.git] / package / pwc / Makefile
index b2c281e..0b5925b 100644 (file)
@@ -44,8 +44,8 @@ endef
 
 define Package/kmod-pwc/install
        mkdir -p $(1)/etc/modules.d
-       install -m0644 ./files/pwc.modules $(1)/etc/modules.d/70-pwc
-       install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
+       $(INSTALL_DATA) ./files/pwc.modules $(1)/etc/modules.d/70-pwc
+       $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
        $(CP) $(PKG_BUILD_DIR)/pwc.$(LINUX_KMOD_SUFFIX) \
                $(1)/lib/modules/$(LINUX_VERSION)/
 endef
This page took 0.02314 seconds and 4 git commands to generate.