aboutsummaryrefslogtreecommitdiff
path: root/rules.mak
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-11-05 17:19:57 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-12 11:23:54 -0600
commitf527c57935e22b56952d1ed1af36070b682ecf70 (patch)
tree70f98a9294db58bb7839a1e1af021a5536941048 /rules.mak
parent593831de5dce5f5b9ce1226e0d8353eecb1176e4 (diff)
fix parallel build
Based on a ideas of Daniel Jacobowitz + Stefan Weil Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'rules.mak')
-rw-r--r--rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mak b/rules.mak
index 5d7e8bb092..4eb1f90306 100644
--- a/rules.mak
+++ b/rules.mak
@@ -13,7 +13,7 @@ MAKEFLAGS += -rR
QEMU_CFLAGS += -MMD -MP -MT $@
-%.o: %.c
+%.o: %.c $(GENERATED_HEADERS)
$(call quiet-command,$(CC) $(QEMU_CFLAGS) $(CFLAGS) -c -o $@ $<," CC $(TARGET_DIR)$@")
%.o: %.S