From: Florian Fainelli Date: Tue, 15 May 2007 08:20:31 +0000 (+0000) Subject: Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6a9e9f5cad1faf2e9d5760810768af683606f9cf;p=openwrt%2Fsvn-archive%2Fpackages.git Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound peripherals (#1677) SVN-Revision: 7246 --- diff --git a/libs/alsa-lib/Makefile b/libs/alsa-lib/Makefile index 44e2f28d8..3ee12b408 100644 --- a/libs/alsa-lib/Makefile +++ b/libs/alsa-lib/Makefile @@ -21,7 +21,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk - +ifeq ($(KERNEL),2.4) define Package/alsa-lib SECTION:=libs CATEGORY:=Libraries @@ -32,6 +32,18 @@ define Package/alsa-lib have enabled the ALSA support in the kernel. URL:=http://www.alsa-project.org/ endef +else +define Package/alsa-lib + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+kmod-soundcore @USB_SUPPORT + TITLE:=ALSA (Advanced Linux Sound Architecture) library + DESCRIPTION:=\ + This is the library package for alsa, needed by some userspace programs. You must \\\ + have enabled the ALSA support in the kernel. + URL:=http://www.alsa-project.org/ +endef +endif define Build/Configure $(call Build/Configure/Default,\