572e86e220
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=28af70a2f1fb418c71eb727cb009cd6a
21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
Index: xen-3.4.1-testing/unmodified_drivers/linux-2.6/mkbuildtree
|
|
===================================================================
|
|
--- xen-3.4.1-testing.orig/unmodified_drivers/linux-2.6/mkbuildtree
|
|
+++ xen-3.4.1-testing/unmodified_drivers/linux-2.6/mkbuildtree
|
|
@@ -47,7 +47,14 @@ ln -nsf ${XEN}/include/public include/xe
|
|
# be native and not xenolinux).
|
|
case "$uname" in
|
|
i[34567]86|x86_64)
|
|
- if [ -d ${XL}/include/asm-x86 ]; then
|
|
+ if [ -d ${XL}/arch/x86/include/mach-xen ]; then
|
|
+ ln -sf ${XL}/arch/x86/include/mach-xen/asm/hypervisor.h include/asm
|
|
+ ln -sf ${XL}/arch/x86/include/mach-xen/asm/hypercall*.h include/asm
|
|
+ ln -sf ${XL}/arch/x86/include/mach-xen/asm/synch_bitops*.h include/asm
|
|
+ ln -sf ${XL}/arch/x86/include/mach-xen/asm/maddr*.h include/asm
|
|
+ ln -sf ${XL}/arch/x86/include/mach-xen/asm/gnttab_dma.h include/asm
|
|
+ ln -sf ${XL}/arch/x86/lib/scrub.c balloon
|
|
+ elif [ -d ${XL}/include/asm-x86 ]; then
|
|
ln -sf ${XL}/include/asm-x86/mach-xen/asm/hypervisor.h include/asm
|
|
ln -sf ${XL}/include/asm-x86/mach-xen/asm/hypercall*.h include/asm
|
|
ln -sf ${XL}/include/asm-x86/mach-xen/asm/synch_bitops*.h include/asm
|