Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

From: Kyle McMartin
Date: Fri Dec 21 2007 - 12:51:21 EST


On Fri, Dec 21, 2007 at 12:56:09AM -0800, Roland McGrath wrote:
> > On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote:
> > > +obj-$(CONFIG_PPC64) += ../../../fs/compat_binfmt_elf.o
> >
> > Building files from another directory is nasty. Please add a
> > CONFIG_BINFMT_COMPAT_ELF so we can simply build it in fs/
>
> If that's better, please post the precise Kconfig magic you have in mind to
> have it set when it should be.
>

Just taking a stab that hch means,

config BINFMT_COMPAT_ELF
def_bool n
depends on 64BIT

and then in arch/powerpc/Kconfig

config COMPAT
bool
default y if PPC64
select BINFMT_COMPAT_ELF

or somesuch.

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