From 5a325930579db5f9175bea19459c845746801ae4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 23 Nov 2006 00:29:07 +0000 Subject: replace lots of manual install commands with INSTALL_* variables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/alsa/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/alsa') 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)) -- cgit v1.2.3