Bug#342248: [m68k headers] binaries are i386 - cannot execute binary file
On Thu, Dec 15, 2005 at 02:39:45PM +0100, Sven Luther wrote:
> Are you sure you are using the per-flavour header packages
> (linux-headers-2.6.14-2-<flavour> ?
The package build-depends on linux-headers-2.6.14-2-all and
uses the per-flavour headers for the actual build.
> Also, do you know about the external build module plan ? It is as follows :
>
> 1) build-depend on linux-headers-2.6.14 or linux-headers-2.6.14-2-all.
>
> 2) look at /usr/src/linux-headers-2.6.14-2/flavours for a list of supported
> flavours.
>
> 3) for f in `cat /usr/src/linux-headers-2.6.14-2/flavours`; do
> ...
> make ... KSRC=/lib/modules/2.6.14-2-$f
> ...
> done
Yes, this is basically what loop-aes-modules does. Except, I'm
extracting the available flavours from [1] at build-time of the
source package, because I want to include the package entries in
debian/control before upload and sometimes exclude flavours.
[1] /usr/src/linux-headers-2.6.14/debian/arch/*/defines
cheers,
Max
Reply to: