summaryrefslogtreecommitdiff
path: root/package/alsa/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 00:52:51 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 00:52:51 +0000
commit8b31bdf76710f7cb7d031748c7d2bd72690b9260 (patch)
tree890291126842e163efa99e91022a2b1adc1ff113 /package/alsa/Makefile
parent02059e7283fa828bb98a52754ec6d9019e858bf0 (diff)
minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6381 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/alsa/Makefile')
-rw-r--r--package/alsa/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/package/alsa/Makefile b/package/alsa/Makefile
index 8aa80e74a5..347ef76276 100644
--- a/package/alsa/Makefile
+++ b/package/alsa/Makefile
@@ -46,21 +46,18 @@ ifeq ($(LINUX_KARCH),mips)
KERNEL_C_INCS:= -I$(LINUX_DIR)/include/asm-mips/mach-generic
endif
-define Build/Configure
- (cd $(PKG_BUILD_DIR); \
- CFLAGS="$(KERNEL_C_INCS)" \
- ./configure \
- --with-build="$(LINUX_DIR)" \
- --with-kernel="$(LINUX_DIR)" \
- --with-cross="$(KERNEL_CROSS)" \
- --with-redhat=no \
- --with-suse=no \
- --with-oss=yes \
- --with-isapnp=no \
- --with-sequencer=no \
- --with-cards=usb-audio \
- );
-endef
+CONFIGURE_VARS:= \
+ CFLAGS="$(KERNEL_C_INCS)"
+
+CONFIGURE_ARGS:= \
+ --with-build="$(LINUX_DIR)" \
+ --with-kernel="$(LINUX_DIR)" \
+ --with-redhat=no \
+ --with-suse=no \
+ --with-oss=yes \
+ --with-isapnp=no \
+ --with-sequencer=no \
+ --with-cards=usb-audio
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \