X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b1e2869a68b5a80dcf305768ae8280ed8b8548c1..8b31bdf76710f7cb7d031748c7d2bd72690b9260:/package/alsa/Makefile diff --git a/package/alsa/Makefile b/package/alsa/Makefile index 8aa80e74a..347ef7627 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) \