* [PATCH 1/6] i386 virtualization - Fix uml build
@ 2005-08-15 22:58 zach
2005-08-16 4:37 ` Chris Wright
0 siblings, 1 reply; 3+ messages in thread
From: zach @ 2005-08-15 22:58 UTC (permalink / raw)
To: akpm, chrisl, chrisw, hpa, jdike, linux-kernel, mbligh, pratap,
virtualization, zach, zwane
Attempt to fix the UML build by assuming the default i386 subarchitecture
(mach-default).
I can't fully test this because spinlock breakage is still happening in
my tree, but it gets rid of the mach_xxx.h missing file warnings.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Index: linux-2.6.13/arch/um/Makefile-i386
===================================================================
--- linux-2.6.13.orig/arch/um/Makefile-i386 2005-08-12 11:57:45.000000000 -0700
+++ linux-2.6.13/arch/um/Makefile-i386 2005-08-12 12:28:09.000000000 -0700
@@ -27,7 +27,9 @@
endif
endif
-CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) $(STUB_CFLAGS)
+CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH) $(STUB_CFLAGS) \
+ -Iinclude/asm-i386/mach-default \
+ $(if $(KBUILD_SRC),-Iinclude2/asm-i386/mach-default -I$(srctree)/include/asm-i386/mach-default)
ifneq ($(CONFIG_GPROF),y)
ARCH_CFLAGS += -DUM_FASTCALL
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/6] i386 virtualization - Fix uml build
2005-08-15 22:58 [PATCH 1/6] i386 virtualization - Fix uml build zach
@ 2005-08-16 4:37 ` Chris Wright
2005-08-16 5:03 ` Zachary Amsden
0 siblings, 1 reply; 3+ messages in thread
From: Chris Wright @ 2005-08-16 4:37 UTC (permalink / raw)
To: zach
Cc: akpm, chrisl, chrisw, hpa, jdike, linux-kernel, mbligh, pratap,
virtualization, zwane
* zach@vmware.com (zach@vmware.com) wrote:
> Attempt to fix the UML build by assuming the default i386 subarchitecture
> (mach-default).
>
> I can't fully test this because spinlock breakage is still happening in
> my tree, but it gets rid of the mach_xxx.h missing file warnings.
I assume this is intended to fix a build error caused by patches in the
earlier set which added more reliance on mach-default?
thanks,
-chris
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/6] i386 virtualization - Fix uml build
2005-08-16 4:37 ` Chris Wright
@ 2005-08-16 5:03 ` Zachary Amsden
0 siblings, 0 replies; 3+ messages in thread
From: Zachary Amsden @ 2005-08-16 5:03 UTC (permalink / raw)
To: Chris Wright; +Cc: akpm, chrisl, jdike, linux-kernel, pratap, virtualization
Chris Wright wrote:
>* zach@vmware.com (zach@vmware.com) wrote:
>
>
>>Attempt to fix the UML build by assuming the default i386 subarchitecture
>>(mach-default).
>>
>>I can't fully test this because spinlock breakage is still happening in
>>my tree, but it gets rid of the mach_xxx.h missing file warnings.
>>
>>
>
>I assume this is intended to fix a build error caused by patches in the
>earlier set which added more reliance on mach-default?
>
>
Yes, I already sent the fix to Jeff and Andrew, so it may already
included in anything based off -mm1. But it seems a good idea in
general for UML. I got a 100% clean um-i386 build after this patch on
-rc5-mm1.
Zach
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-16 5:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-15 22:58 [PATCH 1/6] i386 virtualization - Fix uml build zach
2005-08-16 4:37 ` Chris Wright
2005-08-16 5:03 ` Zachary Amsden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox