lkml.org 
[lkml]   [2009]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH v3 2/4] Add support for LZO-compressed kernels for ARM
    * Albin Tonnerre <albin.tonnerre@free-electrons.com> [2009-11-11 13:27]:
    > This is the second part of patch. This part includes:
    > - changes to ach/arch/boot/Makefile to make it easier to add new
    > compression types
    > +
    > +# For __aeabi_uidivmod
    > +lib1funcs = $(srctree)/arch/$(SRCARCH)/lib/lib1funcs.o

    I build my kernel in a different directory to where the sources are
    stored and I get:

    make[7]: *** No rule to make target `/home/tbm/kernel/linux-2.6-2.6.32~rc6/debian/build/source_armel_none/arch/arm/lib/lib1funcs.o', needed by `arch/arm/boot/compressed/vmlinux'. Stop.

    The following patch makes it compile for me:

    --- a/arm/boot/compressed/Makefile 2009-11-12 12:26:47.000000000 +0000
    +++ b/arm/boot/compressed/Makefile 2009-11-12 12:26:58.000000000 +0000
    @@ -101,7 +101,7 @@
    LDFLAGS_vmlinux += -T

    # For __aeabi_uidivmod
    -lib1funcs = $(srctree)/arch/$(SRCARCH)/lib/lib1funcs.o
    +lib1funcs = arch/$(SRCARCH)/lib/lib1funcs.o

    # Don't allow any static data in misc.o, which
    # would otherwise mess up our GOT table
    --
    Martin Michlmayr
    http://www.cyrius.com/


    \
     
     \ /
      Last update: 2009-11-12 14:03    [W:4.110 / U:2.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site