On Mon, 9 Jul 2007 01:36:45 +0200 "Hector Oron" <hector.oron@gmail.com> wrote: > The problem is in debian/rules2 patch, > ifndef DEB_CROSS > +ifndef REVERSE_CROSS > > breaks DEB_CROSS logic. I don't follow. It's a ndef - if not defined. If DEB_CROSS is defined, it is ignored. DEB_CROSS should never be set if REVERSE_CROSS is also set and vice versa. > It looks like if DEB_CROSS is set (with > REVERSE_CROSS line) never gets into build cross compiler. ? if DEB_CROSS is set the whole conditional is skipped. That hasn't changed. Setting REVERSE_CROSS does not change DEB_CROSS and vice versa. > +# DEB_CROSS is never set if REVERSE_CROSS is set and vice-versa. > ifndef DEB_CROSS > +ifndef REVERSE_CROSS > ifeq ($(with_java),yes) > ifeq ($(with_native_ecj),yes) > : # prepare the standalone ecj jar > @@ -608,6 +610,7 @@ > ) 2>&1 | tee bootstrap-protocol > s=`cat status`; rm -f status; test $$s -eq 0 > endif > +endif If you remove the REVERSE_CROSS ifndef (and matching endif), does it build a cross-compiler as normal? > > It fails when DEB_CROSS=yes. > > If you use REVERSE_CROSS=yes it looks compiling fine. I'll check it out further later. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgptetRWvn1Vk.pgp
Description: PGP signature