浏览代码

minor cleanup

SVN-Revision: 6381
Felix Fietkau 18 年之前
父节点
当前提交
28c9621bef
共有 1 个文件被更改,包括 12 次插入15 次删除
  1. 12 15
      package/alsa/Makefile

+ 12 - 15
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) \