[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: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse |
Date: |
Mon, 04 Jun 2012 08:36:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
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.
Paolo
- [Qemu-devel] [PATCH 17/24] move qga/ objects to nested Makefile, (continued)
- [Qemu-devel] [PATCH 17/24] move qga/ objects to nested Makefile, Paolo Bonzini, 2012/06/03
- [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 <=
- Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse, Lluís Vilanova, 2012/06/04
- 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