define Package/alsa-lib
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+alsa
+ DEPENDS:=+kmod-alsa @USB_SUPPORT
TITLE:=ALSA (Advanced Linux Sound Architecture) library
DESCRIPTION:=\
This is the library package for alsa, needed by some userspace programs. You must \\\
define Build/Configure
$(call Build/Configure/Default,\
- --enable-shared=yes \
- --enable-static=yes \
- --with-gnu-ld \
+ --enable-shared \
+ --enable-static \
--disable-debugging \
--disable-profiling \
--with-softfloat \
endef
define Build/Compile
+ # override AM_CFLAGS holding inappropriate optimization flags
$(MAKE) -C $(PKG_BUILD_DIR) \
+ AM_CFLAGS="" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
endef
define Package/alsa-lib/install
- install -d -m0755 $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libasound.so.* $(1)/usr/lib/
endef