Set up ipv6 address if provided in network configuration (#1028)
[openwrt.git] / package / alsa / Makefile
index 47ad445..7bd1550 100644 (file)
@@ -67,15 +67,16 @@ define Build/Compile
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                c_opts="$(KERNEL_C_OPTS)" \
                ARCH="$(LINUX_KARCH)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                c_opts="$(KERNEL_C_OPTS)" \
+               CP="$(CP)" \
                all
 endef
 
 define Package/kmod-alsa/install
                all
 endef
 
 define Package/kmod-alsa/install
-       install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
-       install -m0644 $(PKG_BUILD_DIR)/modules/*.$(LINUX_KMOD_SUFFIX) \
+       $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/modules/*.$(LINUX_KMOD_SUFFIX) \
                $(1)/lib/modules/$(LINUX_VERSION)/
                $(1)/lib/modules/$(LINUX_VERSION)/
-       install -d -m0755 $(1)/etc/modules.d
-       install -m0644 ./files/alsa.modules $(1)/etc/modules.d/70-alsa
+       $(INSTALL_DIR) $(1)/etc/modules.d
+       $(INSTALL_DATA) ./files/alsa.modules $(1)/etc/modules.d/70-alsa
 endef
 
 $(eval $(call BuildPackage,kmod-alsa))
 endef
 
 $(eval $(call BuildPackage,kmod-alsa))
This page took 0.020278 seconds and 4 git commands to generate.