[lkml]   [2004]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Fix for 2.6.6 Makefiles to get KBUILD_OUTPUT working
    On Sat, May 15, 2004 at 09:22:45PM -0400, Mathieu Chouquet-Stringer wrote:
    > Hi,
    > if you use O=/someotherdir or KBUILD_OUTPUT=/someotherdir on the following
    > architectures: alpha, mips, sh and cris, the build process is probably
    > going to fail at one point or another, depending on the target you used,
    > because make can't find scripts/ or scripts/Makefile.clean.
    > The following patch (which should apply cleanly to the latest 2.6.6 bk
    > tree) fixes this, I greped the whole tree and these four were the only
    > "offenders" I found.
    Thanks, it has been on my todo for a while.
    A few comments though.

    > --- arch/mips/Makefile.orig 2004-05-15 20:48:52.000000000 -0400
    > +++ arch/mips/Makefile 2004-05-15 20:49:58.000000000 -0400
    > -makeboot =$(Q)$(MAKE) -f scripts/ obj=arch/mips/boot $(1)
    > +makeboot =$(Q)$(MAKE) $(build)=arch/mips/boot $(1)

    Please get rid of makeboot. Use $(Q)$(MAKE) ... instead.
    Hereby the '+' sign is no longer needed (used today where makeboot is used.

    > archclean:
    > - @$(MAKE) -f scripts/Makefile.clean obj=arch/mips/boot
    > - @$(MAKE) -f scripts/Makefile.clean obj=arch/mips/baget
    > - @$(MAKE) -f scripts/Makefile.clean obj=arch/mips/lasat
    > + @$(MAKE) $(clean)=arch/mips/boot
    > + @$(MAKE) $(clean)=arch/mips/baget
    > + @$(MAKE) $(clean)=arch/mips/lasat
    Please use $(Q)$(MAKE), so command is expanded with make V=1, and
    to make it look like all other usages.

    > --- arch/cris/Makefile.orig 2004-05-15 20:59:49.000000000 -0400
    > +++ arch/cris/Makefile 2004-05-15 21:00:36.000000000 -0400

    But this file in general looks strange. There seems to be no way
    to descend into arch-v10?
    Mikael - any pending patches for this file / architecture?

    Mathieu, could you please update the patch and send onwards to Andrew.
    Do not touch the cris Makefile more than you did, the maintainer needs
    to clean it up.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:03    [W:0.023 / U:0.348 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site