Re: RFC: $(ARCH) in file

From: H. Peter Anvin (hpa@transmeta.com)
Date: Fri Jan 28 2000 - 14:11:05 EST


Followup to: <AB6uRauyjT@khim.sch57.msk.ru>
By author: "Khimenko Victor" <khim@sch57.msk.ru>
In newsgroup: linux.dev.kernel
>
> In <85g0vii63p.fsf@junk.nocrew.org> lars brinkhoff (lars@nocrew.org) wrote:
> > Jeff Garzik <jgarzik@mandrakesoft.mandrakesoft.com> writes:
> >> On 28 Jan 2000, lars brinkhoff wrote:
> >> > Why do I want this? Because I often build for an architecture which is
> >> > not the native one. Saving the architecture in .arch is more convenient
> >> > then typing "make ARCH=foo".
> >> How tough is it to edit the makefile? :)
>
> > Not tough, but I think it's easier for people to type
> > echo FOO >.arch
> > than to mess with the Makefile.
>
> It's usually MUCH better to mess with the Makefile then to add kludges in
> mainstream kernel. I think probability of acception is zero.
>

Actually, this seems like a reasonable hack to me. However, why hide
the file?

    -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:21 EST