RFC: $(ARCH) in file

H. Peter Anvin hpa en transmeta.com
Vie Ene 28 21:25:52 CST 2000


Followup to:  <AB6uRauyjT en khim.sch57.msk.ru>
By author:    "Khimenko Victor" <khim en sch57.msk.ru>
In newsgroup: linux.dev.kernel
>
> In <85g0vii63p.fsf en junk.nocrew.org> lars brinkhoff (lars en nocrew.org) wrote:
> > Jeff Garzik <jgarzik en 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 en transmeta.com> at work, <hpa en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda