[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building kernel 2.0.x under potato



On Mon, Sep 27, 1999 at 10:41:14PM +0200, Filip Van Raemdonck wrote:
> 
> I actually had to start learning perl for this but I guess it had to
> happen once anyway, so...

Thanks, please forward this to the maintainer of kernel-package.

> You probably want to set the HOSTCC and CC variables in make-kpkg itself,
> not in debian/rules (as I've done). That way they are passed on to every
> target through ${MAKE} (and this is probably why setting on the
> commandline works, while environment variables don't). I 've set them to
> sane (?) defaults if CC and HOSTCC are not exported in the environment.
> Also, dpkg --print-architecture (used in debian/rules) depends on gcc or
> $CC, OTOH it produces an error if the word count of $CC > 1, so I passed
> on $HOSTCC to it (which *should* be just the name of the compiler -maybe
> you could add a check?).

This is arguably a bug in dpkg since the upstream kernel actually sets
CC to include certain options.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply to: