Re: [PATCH] sparc: fix tftpboot.img build

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

 



On Thu, Jun 18, 2009 at 02:45:54AM -0700, David Miller wrote:
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Date: Mon, 8 Jun 2009 21:20:43 +0200
> 
> > Kjetil Oftedal mentioned that piggyback_32 was failing
> > when building a sparc image.
> > 
> > I tracked this down to the fact that the kernel no longer
> > provided an absolute symbol named "end".
> > 
> > Commit 86ed40bd6fe511d26bb8f3fa65a84cb65c235366 ("sparc: unify sections.h")
> > renamed end to _end but failed to update piggyback_32.
> > 
> > Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> > Cc: Kjetil Oftedal <oftedal@xxxxxxxxx>
> > Cc: Robert Reif <reif@xxxxxxxxxxxxx>
> > ---
> > 
> > This is not even build tested - but looks obvious.
> 
> I don't even know how to build test this:
> 
> davem@sunset:~/src/GIT/sparc-next-2.6$ make ARCH=sparc tftpboot.img
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-sparc
>   CALL    scripts/checksyscalls.sh
> <stdin>:1519:2: warning: #warning syscall perf_counter_open not implemented
>   CHK     include/linux/compile.h
> make[1]: *** No rule to make target `arch/sparc/boot/piggyback', needed by `arch/sparc/boot/tftpboot.img'.  Stop.
> make: *** [tftpboot.img] Error 2
> davem@sunset:~/src/GIT/sparc-next-2.6$ 


Thats a bug from when we unified sparc.
Blame the person that unified boot/Makefile :-(

It looks like a simple piggyback => piggyback_32 in Makefile.

I will repost when I can actually build-test it.
(Which may take a while).


	Sam

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux