Re: [RFC][PATCH 5/6] x86, efi: Fix endian issues and unalignedaccesses

From: Stephen Rothwell
Date: Tue Feb 28 2012 - 19:29:02 EST


Hi again,

On Wed, 29 Feb 2012 11:13:22 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> OK, I tried just that patch on top of Linus' tree and obviously that
> didn't work :-) so I pulled the x86/build branch from the tip tree into
> my tree (which contained just Linus' tree of today
> (v3.3-rc5-97-g891003a)). and the build failed like this:
>
> arch/x86/boot/tools/build.c:36:22: error: asm/boot.h: No such file or directory
>
> The build is an ARCH=x86_64 defconfig with CONFIG_EFI_STUB=y.

I added V=1 and the command line for the build of build.c is

gcc -Wp,-MD,arch/x86/boot/tools/.build.d -Iarch/x86/boot -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/scratch/sfr/x86_seg.obj/include -I/scratch/sfr/x86_seg/tools/include -include /scratch/sfr/x86_seg/include/linux/kconfig.h -o arch/x86/boot/tools/build /scratch/sfr/x86_seg/arch/x86/boot/tools/build.c

I am using a separate object tree as well (source tree
is /scratch/sfr/x86_seg, object is /scratch/sfr/x86_seg.obj).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature