[Pkg-voip-commits] r7631 - /dahdi-linux/trunk/debian/patches/mmx_auto
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Fri Sep 25 10:27:31 UTC 2009
Author: tzafrir-guest
Date: Fri Sep 25 10:27:30 2009
New Revision: 7631
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7631
Log:
Use DAHDI_ARCH instead of ARCH
We can't rely on ARCH to tell between i386 and x86_64. Luckily the same
Kbuild file already tests for this and sets DAHDI_ARCH .
Modified:
dahdi-linux/trunk/debian/patches/mmx_auto
Modified: dahdi-linux/trunk/debian/patches/mmx_auto
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-linux/trunk/debian/patches/mmx_auto?rev=7631&op=diff
==============================================================================
--- dahdi-linux/trunk/debian/patches/mmx_auto (original)
+++ dahdi-linux/trunk/debian/patches/mmx_auto Fri Sep 25 10:27:30 2009
@@ -13,13 +13,13 @@
+# set CONFIG_DAHDI_MMX for a number of CPU types.
+DAHDI_MMX_AUTO=yes
+DAHDI_USE_MMX=
-+DAHDI_MMX_WHITELIST_i386 = M586MMX M686 MPENTIUMII MPENTIUMIII MPENTIUMM \
++DAHDI_MMX_WHITELIST_x86_32 = M586MMX M686 MPENTIUMII MPENTIUMIII MPENTIUMM \
+ MPENTIUM4 MVIAC3_2 MVIAC3_2 MK7 MK8
+
+DAHDI_MMX_WHITELIST_x86_64 =
+
+# A list of configuration variables to test: CONFIG_M686 , etc.
-+DAHDI_MMX_CONFIG_VARS := $(DAHDI_MMX_WHITELIST_$(ARCH):%=CONFIG_%)
++DAHDI_MMX_CONFIG_VARS := $(DAHDI_MMX_WHITELIST_$(DAHDI_ARCH):%=CONFIG_%)
+
+# expand them:
+DAHDI_MMX_CONFIG_VALS := $(strip $(foreach var,$(DAHDI_MMX_CONFIG_VARS),$(var)) )
More information about the Pkg-voip-commits
mailing list