summaryrefslogtreecommitdiff
path: root/package/alsa
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-23 00:29:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-23 00:29:07 +0000
commita4a6443af12b7758b12020f561fa7fe2e0a3e87f (patch)
tree8b63e203323c3c4ab05aa9bf0a9ec17f5dc87c91 /package/alsa
parent45931610d1371befd1481f07d1e3f1a8d4f16029 (diff)
replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/alsa')
-rw-r--r--package/alsa/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/alsa/Makefile b/package/alsa/Makefile
index 2ac0b9433b..7bd155078e 100644
--- a/package/alsa/Makefile
+++ b/package/alsa/Makefile
@@ -72,11 +72,11 @@ define Build/Compile
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)/
- 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))