[PATCH 0/2] [Maverick] LP#603087 -- add kernel build stages for bootstrapping

Andy Whitcroft apw at canonical.com
Thu Aug 5 11:02:50 UTC 2010


In order to bootstrap in a cross compiling environment you need to build
the compiler, and then the kernel.  However to build the compiler you need
the linux-libc-dev package which is part of the kernel build, catch 22.
This patch set adds a new DEB_STAGE=stage1 mode which only builds this
package.  It actually emits three other empty packages for simplicity,
but the key is that it emits the required headers package without needing
the target compiler.  Note that DEB_STAGE is the defacto standard for
this kind of work.

For Maverick.

-apw

Andy Whitcroft (2):
  UBUNTU: add support for building selected stages of kernel
  UBUNTU: cleanup conditional dependancy handling

 debian/rules                     |    9 +++++++++
 debian/rules.d/0-common-vars.mk  |    6 ++++++
 debian/rules.d/1-maintainer.mk   |    3 +++
 debian/rules.d/2-binary-arch.mk  |   15 +++++++--------
 debian/rules.d/3-binary-indep.mk |   17 +++++------------
 5 files changed, 30 insertions(+), 20 deletions(-)





More information about the kernel-team mailing list