Skip to contentSkip to conversation

Makefile.target: y != yes

Qemu-devel RB 1 participant 1 message Jul 14, 2009 Kbuild

lore
Share & tools
lore

RB

author
#0 lore raw

There's a simple bug in Makefile.target introduced by commit eb9d73a; configure and the Makefile disagree on the value of 'yes'. The attached patch fixes it - please CC if needed since I'm not subscribed.

Makefile.target +2 -2
index 1a71f3a..a4cb506 100644
@@ -89,7 +89,7 @@ translate.o: CFLAGS := $(CFLAGS) $(call cc-option, $(CFLAGS), -fno-unit-at-a-tim
 endif
 
 ifeq ($(ARCH),sparc)
-  ifneq ($(CONFIG_SOLARIS),yes)
+  ifneq ($(CONFIG_SOLARIS),y)
     HELPER_CFLAGS+=-ffixed-i0
   endif
 endif
@@ -544,7 +544,7 @@ endif
 
 # xen backend driver support
 obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o
-ifeq ($(CONFIG_XEN), yes)
+ifeq ($(CONFIG_XEN), y)
   LIBS += $(XEN_LIBS)
 endif