projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df13be9
)
Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the sound...
author
Florian Fainelli
<florian@openwrt.org>
Tue, 15 May 2007 08:20:31 +0000
(08:20 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Tue, 15 May 2007 08:20:31 +0000
(08:20 +0000)
SVN-Revision: 7246
libs/alsa-lib/Makefile
patch
|
blob
|
history
diff --git
a/libs/alsa-lib/Makefile
b/libs/alsa-lib/Makefile
index 44e2f28d8aa2d4264730c7489a74b629c1b9e606..3ee12b408d34773f9c29df6551c5f83ea097b318 100644
(file)
--- 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
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
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
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,\
define Build/Configure
$(call Build/Configure/Default,\