Skip to contentSkip to conversation

qemu/stubdom: fix handing of dependency files

PATCH Applied Jan Beulich 2 participants 2 messages Nov 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu/stubdom: fix handing of dependency files

The previous change to switch qemu's make include directives to use .*.d rather than *.d didn't consider the stubdom side, where no -MF was passed to the compiler so far.

xen-setup-stubdom +1 -1
@@ -95,7 +95,7 @@ HOST_USB=stub
 
 HOST_LDFLAGS= \$(LDFLAGS) -g -Wl,--warn-common
 HOST_CFLAGS= \$(CFLAGS)
-CPPFLAGS += $TARGET_CPPFLAGS -DCONFIG_STUBDOM
+CPPFLAGS += $TARGET_CPPFLAGS -DCONFIG_STUBDOM -MF .\$(@F).d 
 CFLAGS= $TARGET_CFLAGS
 LDFLAGS= $TARGET_LDFLAGS
 

The previous change to switch qemu's make include directives to use .*.d rather than *.d didn't consider the stubdom side, where no -MF was passed to the compiler so far.

xen-setup-stubdom +1 -1
@@ -95,7 +95,7 @@ HOST_USB=stub
 
 HOST_LDFLAGS= \$(LDFLAGS) -g -Wl,--warn-common
 HOST_CFLAGS= \$(CFLAGS)
-CPPFLAGS += $TARGET_CPPFLAGS -DCONFIG_STUBDOM
+CPPFLAGS += $TARGET_CPPFLAGS -DCONFIG_STUBDOM -MF .\$(@F).d
 CFLAGS= $TARGET_CFLAGS
 LDFLAGS= $TARGET_LDFLAGS
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw

Jan Beulich writes ("[Xen-devel] [PATCH] qemu/stubdom: fix handing of dependency files"):

Quoted 3 lines

The previous change to switch qemu's make include directives to use .*.d rather than *.d didn't consider the stubdom side, where no -MF was passed to the compiler so far.

Applied, thanks.

Ian.