Re: [PATCH] Dont build altivec raid on x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somenthing like this ?

--- linux/drivers/md/Makefile	2005-09-01 19:34:55.000000000 +0200
+++ linux/drivers/md/Makefile.new	2006-03-27 22:15:00.000000000 +0200
@@ -10,10 +10,10 @@
 md-mod-objs     := md.o bitmap.o
 raid6-objs	:= raid6main.o raid6algos.o raid6recov.o raid6tables.o \
 		   raid6int1.o raid6int2.o raid6int4.o \
-		   raid6int8.o raid6int16.o raid6int32.o \
-		   raid6altivec1.o raid6altivec2.o raid6altivec4.o \
-		   raid6altivec8.o \
-		   raid6mmx.o raid6sse1.o raid6sse2.o
+		   raid6int8.o raid6int16.o raid6int32.o
+raid6-$(CONFIG_ALTIVEC) :=	raid6altivec1.o raid6altivec2.o \
+							raid6altivec4.o raid6altivec8.o
+raid6-$(CONFIG_X86)		:=	raid6mmx.o raid6sse1.o raid6sse2.o
 hostprogs-y	:= mktables
 
 # Note: link order is important.  All raid personalities


--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandriva Linux release 2006.1 (Cooker) for i586
Linux 2.6.16-jam1 (gcc 4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1))

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux