and i've seen diff projects key off of the hppa2.0* to enable newer features by default.

> But anyway, I think being clever and removing unused stuff is likely> orthogonal to the first patch which is just making it all work.

sure, but your new patch added the sed :)

> > > The reason it doesn't work is the same ... CROSS_COMPILE is defined to> > > be empty.> > > > my suggestion was purely an incremental improvement on the patch you> > posted.> > > > it improves two things:> > - detection when the default tuple is hppa2.0-xxx rather than hppa-xxx> > - one line for set-variable-only-when-its-unset rather than three lines> > It can't be done ... defined but empty is different from not defined in> makefiles (ifdef or ?= only checks for not defined). CROSS_COMPILE gets> automatically defined by the top level Makefile ... that's why we need a> check for empty not a check for not defined.

yeah, OK ... this behavior changed from what i was remembering. ?= used to work until the top level Makefile was improved.-mike[unhandled content-type:application/pgp-signature]