Re: buildenv target

From: John-Mark Gurney (gurney_j_at_resnet.uoregon.edu)
Date: 02/14/05

  • Next message: gnn_at_FreeBSD.org: "Re: buildenv target"
    Date: Mon, 14 Feb 2005 14:37:23 -0800
    To: John Baldwin <jhb@FreeBSD.org>
    
    

    John Baldwin wrote this message on Mon, Feb 14, 2005 at 15:11 -0500:
    > Did you know that you can just do:
    >
    > make kernel-toolchain TARGET_ARCH=arm
    > make buildkernel TARGeT_ARCH=arm KERNCONF=TS7200

    yes, I did, and the problem is that this is extreamly slow if you've
    only modified one line of one file for testing... Do you build all of
    your kernels this way??

    > That's rather easy. You can even cross-build against a different kernel tree
    > (I use this a lot for my p4 trees). For example:
    >
    > make TARGET_ARCH=amd64 KERNCONF=LINT KERNSRCDIR=/home/john/work/p4/proc \
    > buildkernel NO_MODULES=yes
    >
    > With repeated builds (e.g. when fixing compile errors) adding
    > NO_KERNELCLEAN=yes NO_KERNELDEPEND=yes is good as well.

    I really hate having to remeber and type those everytime that I build a
    kernel... You're also forgetting NO_KERNELCONFIG=yes to that... since
    if it's just a typo, you usually don't need a config for a typo...

    yes, there are other complex solutions, but I'd like a simplier solution,
    and one that is a lot more friendly to my fingers...

    -- 
      John-Mark Gurney				Voice: +1 415 225 5579
         "All that I will do, has been done, All that I have, has not."
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: gnn_at_FreeBSD.org: "Re: buildenv target"

    Relevant Pages

    • Re: buildenv target
      ... > yes, I did, and the problem is that this is extreamly slow if you've ... > your kernels this way?? ... > if it's just a typo, you usually don't need a config for a typo... ...
      (freebsd-arch)
    • Re: [libata] atapi_enabled problem
      ... I suspect something more like a typo. ... Anyway, recent kernels ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [libata] atapi_enabled problem
      ... I suspect something more like a typo. ... Anyway, recent kernels ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Sharp Zaurus sl-5500 broken in 2.6.12
      ... > Could you check this wasn't caused by this typo please: ... > (this has been fixed in recent kernels) ... Oops, you are right, it is now fixed. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)