Re: buildenv target
From: John-Mark Gurney (gurney_j_at_resnet.uoregon.edu)
Date: 02/14/05
- Previous message: John Baldwin: "Re: buildenv target"
- In reply to: John Baldwin: "Re: buildenv target"
- Next in thread: gnn_at_FreeBSD.org: "Re: buildenv target"
- Reply: gnn_at_FreeBSD.org: "Re: buildenv target"
- Reply: Ruslan Ermilov: "Re: buildenv target"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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"
- Previous message: John Baldwin: "Re: buildenv target"
- In reply to: John Baldwin: "Re: buildenv target"
- Next in thread: gnn_at_FreeBSD.org: "Re: buildenv target"
- Reply: gnn_at_FreeBSD.org: "Re: buildenv target"
- Reply: Ruslan Ermilov: "Re: buildenv target"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|