[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vp
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse |
Date: |
Mon, 04 Jun 2012 20:52:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Paolo Bonzini writes:
> Il 04/06/2012 00:57, Anthony Liguori ha scritto:
>>>
>>> As before, I dislike the use of the filename "Makefile" for files that
>>> are not self-contained. If make is called from that deep directory, it
>>> leads to undefined results. Either we must make sure through some clever
>>> ifeq'ery and a local "all" target that such an attempt fails, or better
>>> use a filename that is recognized by editors as Makefile syntax but not
>>> used by make without explicit -f, e.g., foo.mak.
>>
>> Linux does this. I think it's expected behavior at this point. In the
>> long term, we should either move to kconfig or autoconf so trying to act
>> like one of the two seems like a good idea to me.
> This is not really necessary; we won't really move to kbuild anytime. I
> don't really like the magic Makefiles and did it only because Linux does
> this.
> Naming files Makefile.objs would make just as much sense.
Naming them as *.mak makes some common editors interpret the file as a makefile
(e.g., vim and emacs), while *.objs brings no meaning to these two.
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
- [Qemu-devel] [PATCH 24/24] compile oslib-obj-y once, (continued)
- [Qemu-devel] [PATCH 24/24] compile oslib-obj-y once, Paolo Bonzini, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Blue Swirl, 2012/06/03
- [Qemu-devel] [PATCH 16/24] move qapi/ objects to nested Makefile, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 22/24] libcacard Makefile cleanups, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 23/24] limit usage of vpath, Paolo Bonzini, 2012/06/03
- [Qemu-devel] [PATCH 21/24] move device tree to per-target Makefile, Paolo Bonzini, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Andreas Färber, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Anthony Liguori, 2012/06/03
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Paolo Bonzini, 2012/06/04
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse,
Lluís Vilanova <=
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Eric Blake, 2012/06/04
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Paolo Bonzini, 2012/06/05
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Anthony Liguori, 2012/06/03
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Lluís Vilanova, 2012/06/04