lkml.org 
[lkml]   [2011]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] ARM: zImage: Skip relinking if nothing changes
    On Fri, Aug 12, 2011 at 04:48:12PM -0400, Arnaud Lacombe wrote:
    > You should be able to avoid the extra copy altogether by doing something ala:
    >
    > $(obj)/lib1funcs.o: $(srctree)/arch/arm/lib/lib1funcs.S
    > $(call cmd,as_o_S)
    >
    > note that I also remove the $(SRCARCH), as there is no other
    > `arch/*/lib/lib1funcs.S' than `arch/arm/lib/lib1funcs.S'

    We tried such things, but it results in kbuild arguing over building
    lib1funcs.S in arch/arm/lib and arch/arm/boot/compressed. You end up
    with it rebuilding the arch/arm/lib one, followed by a rebuild of the
    arch/arm/boot/compressed one.

    We've ended up with what we have because its about the only way to get
    kbuild to behave.


    \
     
     \ /
      Last update: 2011-08-12 22:59    [W:2.450 / U:0.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site