aboutsummaryrefslogtreecommitdiff
path: root/Makefile.user
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2011-09-15 22:45:42 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-16 08:25:56 -0500
commit937b1258b7748fe9dc2234b6006f216856179636 (patch)
tree3d3aa25d8f976e0692fc50e20f66d8c4add6130d /Makefile.user
parent388d475815c23901010a25c845eb078d47ee0740 (diff)
build: Move tracing objects into libuser on usermode emulation targets
This will apply libuser-specific compilation flags (like the ones added by --enable-user-pie), but keep softmmu emulation targets "as-is". Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.user')
-rw-r--r--Makefile.user4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.user b/Makefile.user
index 024b7736b9..2b1e4d154e 100644
--- a/Makefile.user
+++ b/Makefile.user
@@ -17,7 +17,9 @@ all: $(user-obj-y)
@true
clean:
- rm -f *.o *.d *.a *~
+ for d in . trace; do \
+ rm -f $$d/*.o $$d/*.d $$d/*.a $$d/*~; \
+ done
# Include automatically generated dependency files
-include $(wildcard *.d */*.d)