linux/debian/config/m68k
Bastian Blank 34a92674a1 * debian/changelog: Update.
* debian/config: Disable USB_GADGET.

svn path=/dists/trunk/linux-2.6/; revision=10880
2008-03-14 21:57:08 +00:00
..
README.build * debian/config: Move from debian/arch. 2007-07-24 18:31:40 +00:00
config * debian/changelog: Update. 2008-03-14 21:57:08 +00:00
config.amiga debian/config: Centralize core sound options. 2008-03-14 13:52:24 +00:00
config.atari debian/control: Remove known gone options. 2008-03-14 14:09:42 +00:00
config.bvme6000 debian/control: Remove known gone options. 2008-03-14 14:09:42 +00:00
config.hp kill dup fs definitions 2007-11-28 12:57:21 +00:00
config.mac debian/control: Remove known gone options. 2008-03-14 14:09:42 +00:00
config.mvme16x debian/control: Remove known gone options. 2008-03-14 14:09:42 +00:00
config.mvme147 debian/config: Do complete reorganization. 2008-03-14 11:52:07 +00:00
config.q40 configs nuke SCSI_PSI240I ref 2008-01-26 11:49:12 +00:00
config.sun3 kill dup fs definitions 2007-11-28 12:57:21 +00:00
defines debian/config/**/defines: Cleanup. 2008-01-29 13:48:04 +00:00

README.build

HOWTO cross-build m68k linux-image

Building linux-image packages takes a while, especially on the "slower
arches", ie m68k. Cross-compiling is an alternative, and it works very well
for m68k.

You need to set up a cross-compiler. The toolchain-source package has some
limitations, I prefer using cross-tools, see this page for instructions:

 http://people.debian.org/~cts/debian-m68k/cross-compile/

Now you only have to tell the debian build system, that you do want to build
packages for m68k. It used to be sufficient to pass an option to debuild,
since recently you also have to set an environment variable, like this:

 DEB_HOST_ARCH=m68k debuild -B -am68k

If you also want to build source packages, omit the -B. 

If you want to build images for just one of the currently nine subarches,
you can uncomment some lines in the flavours section in:
 debian/arch/m68k/defines

The first run of debuild will give you an error message that updating the
configs suceeded, the second run will build the images.