]> git.proxmox.com Git - mirror_qemu.git/commit
rules.mak: Rewrite unnest-vars
authorFam Zheng <famz@redhat.com>
Tue, 27 May 2014 07:54:19 +0000 (15:54 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 11:59:02 +0000 (13:59 +0200)
commit1c33ac5716af0840d8a2c568a47bcbee51946d69
tree00272e09fa5aa08a4ba025994edcf29a780a2d27
parent99519e677bd605a681a805b0c759ae886d1d5712
rules.mak: Rewrite unnest-vars

The macro unnest-vars is the most important, complicated but hard to
track magic in QEMU's build system.

Rewrite it in a (hopefully) clearer way, with more comments, to make it
easier to understand and maintain.

Remove DSO_CFLAGS and module-objs-m that are not used.

A bonus fix of this version is, per object variables are properly
protected in save-objs and load-objs, before including sub-dir
Makefile.objs, just as nested variables are. So the occasional same
object name from different directory levels won't step on each other's
foot.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak