aboutsummaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-22 13:41:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-06-07 09:21:12 +0200
commit99100dc3b55126fc60fbbfb854d5aab25ab5dafd (patch)
tree2f2baba95dc6ccb0e419ea8ce403dc6a6d06f9cc /Makefile.objs
parentfbe37ef3e18814f2b98f115a1c855fea7fe71d74 (diff)
build: move rules for nesting to Makefile.objs
At this point we will start adding nesting behavior to other files than Makefile.target. Because Makefile.objs is included by Makefile.target, it is simpler to move the processing of subdirectories there. To enable this, only add per-target files to obj-y. Use a separate variable for the linker dependencies, all-obj-y. This variable includes obj-y and also all objects that are taken from other directories. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 1daa92c96b..e06db126c2 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -468,3 +468,5 @@ vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
QEMU_CFLAGS+=$(GLIB_CFLAGS)
+nested-vars += # ...
+dummy := $(call unnest-vars)