Re: [Buildroot] [PATCH v1 1/1] package/xen: fix build error when BR2_PACKAGE_XEN_TOOLS not enabled

"Frager, Neal via buildroot" <[email protected]> Mon, 3 Aug 2026 07:59:46 +0000
Newsgroups net.busybox.buildroot
Message-ID <BL1PR12MB5032DC299BB78F4850D1C44CF0D52@BL1PR12MB5032.namprd12.prod.outlook.com>
AMD General

Hi all,

Please disregard as I thought of a better solution.

Instead of changing the xen dependencies, we can correct the
0002-Update-linker-flags.patch by moving this portion of the patch to the
qemu-xen package where it belongs.

diff --git a/tools/qemu-xen/include/hw/xen/xen_native.h b/tools/qemu-xen/include/hw/xen/xen_native.h
index 6bcc83ba..2590904e 100644
--- a/tools/qemu-xen/include/hw/xen/xen_native.h
+++ b/tools/qemu-xen/include/hw/xen/xen_native.h
@@ -2,7 +2,7 @@
 #define QEMU_HW_XEN_NATIVE_H

 #ifdef __XEN_INTERFACE_VERSION__
-#error In Xen native files, include xen_native.h before other Xen headers
+#warning In Xen native files, include xen_native.h before other Xen headers
 #endif

 /*
--

I will send a v2 shortly.

Best regards,
Neal Frager
AMD


_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot