Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound peripherals (#1677)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7246 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-05-15 08:20:31 +00:00
parent 96f1790512
commit 98f0a37184

View File

@ -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,\