lkml.org 
[lkml]   [2006]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Dont build altivec raid on x86
    J.A. Magallon wrote:
    > On Thu, 23 Mar 2006 22:07:11 +0100, "J.A. Magallon" <jamagallon@able.es> wrote:
    >
    >
    >>On Thu, 23 Mar 2006 01:40:46 -0800, Andrew Morton <akpm@osdl.org> wrote:
    >>
    >>
    >>>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16/2.6.16-mm1/
    >>>
    >>
    >
    > gcc just compiles files emptied with #ifdefs, but it looks incorrect
    > anyways
    >
    > --- linux/drivers/md/Makefile.orig 2005-11-13 23:14:48.000000000 +0100
    > +++ linux/drivers/md/Makefile 2005-11-13 23:28:05.000000000 +0100
    > @@ -8,12 +8,21 @@
    > dm-snapshot-objs := dm-snap.o dm-exception-store.o
    > dm-mirror-objs := dm-log.o dm-raid1.o
    > md-mod-objs := md.o bitmap.o
    > +
    > +
    > +ifeq ($(CONFIG_ALTIVEC),y)
    > +raid6-vec-objs := \
    > + raid6altivec1.o raid6altivec2.o \
    > + raid6altivec4.o raid6altivec8.o
    > +endif
    > +ifeq ($(CONFIG_X86),y)
    > +raid6-vec-objs := \
    > + raid6mmx.o raid6sse1.o raid6sse2.o
    > +endif
    > 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
    > + $(raid6-vec-objs)
    > hostprogs-y := mktables
    >
    > # Note: link order is important. All raid personalities
    >

    Use raid6-$(CONFIG_FOO) instead.

    --
    Brian Gerst
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-23 22:24    [W:5.150 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site