lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 15 Jan 2008 08:45:11 +0100
FromSam Ravnborg <>
SubjectRe: [PATCH] Fix 32bit build for git-x86
On Tue, Jan 15, 2008 at 02:04:49AM +0100, Andi Kleen wrote:
> 
> Fixes the 32build here with git-x86 (tip 2f42671697ea9abc7d10ea7f663d6ef6e8ec6358)
> 
> Fix git-x86 build 
> 
> Otherwise
> 
> make[3]: Nothing to be done for `vmlinux'.
> KBUILD_IMAGE := arch/x86/boot/bzImage
> make[2]: KBUILD_IMAGE: Command not found
> make[2]: *** [all] Error 127

Thanks Andi.

I wonder how these tabs came in.
I am almost sure they were not in my original patch. But as git-send-email
do not save copies of my sent mails I cannot be sure.

Ingo - do you have a script on your side that could have converted
the spaces to tabs?
It could be a simple "make checkpatch happy" change too - but in this case
it was wrong.

Leading tabs in Makefiles that are not in front of commands are a typical
source of non-so-easy-to-debug problems.
Been there before....
	Sam


> 
> Signed-off-by: Andi Kleen <ak@suse.de>
> 
> Index: linux/arch/x86/Makefile
> ===================================================================
> --- linux.orig/arch/x86/Makefile
> +++ linux/arch/x86/Makefile
> @@ -211,7 +211,8 @@ PHONY += zImage bzImage compressed zlilo
>  all: bzImage
> 
>  # KBUILD_IMAGE specify target image being built
> -		    KBUILD_IMAGE := $(boot)/bzImage
> +KBUILD_IMAGE := $(boot)/bzImage
> +
>  zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage
> 
>  zImage bzImage: vmlinux


\
 
 \ /
  Last update: 2008-01-15 07:47    [from the cache]
©2003-2008