Skip to contentSkip to conversation

Don't require GCC3 unless necessary

PATCH New Anthony Liguori 1 participant 1 message May 21, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't require GCC3 unless necessary

Now that i386, x86_64, and arm are converted to TCG, we should not insist on requiring GCC3 unless we're building a target that still requires dyngen.

If we're using some targets that do require GCC3 and some that don't, always use GCC3 to ensure a consistent build.

Makefile +5 -1
index 5bf9bbd..6505f0e 100644
@@ -26,7 +26,11 @@ LIBS+=$(AIOLIBS)
 
 all: $(TOOLS) $(DOCS) recurse-all 
 
-subdir-%: dyngen$(EXESUF) libqemu_common.a
+ifeq ($(CONFIG_DYNGEN), yes)
+SUBDIR_DEP=dyngen$(EXESUF)
+endif
+
+subdir-%: $(SUBDIR_DEP) libqemu_common.a
 	$(MAKE) -C $(subst subdir-,,$@) all
 
 recurse-all: $(patsubst %,subdir-%, $(TARGET_DIRS))
configure +38 -5

61 lines not on this page · raw message