From 5d38d108162ec4299cdafaad6d229c43ffd148b5 Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Sun, 15 Sep 2024 09:00:29 +0300 Subject: [PATCH] drivers/xen/console: Update nolibc dependency Xen console dependency on nolibc in `Config.uk` (`select LIBNOLIBC`) causes conflict with the `plat/xen/Config.uk` configuration (`select LIBNOLIBC if !HAVE_LIBC`) when a libc (such as Musl) is used. The dependency must consider both using nolibc and using a libc (such as Musl). Update dependency to select nolibc only when a libc is absent. Signed-off-by: Razvan Deaconescu Reviewed-by: Michalis Pappas Reviewed-by: Simon Kuenzer Approved-by: Simon Kuenzer GitHub-Closes: #1487 --- drivers/xen/console/Config.uk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/console/Config.uk b/drivers/xen/console/Config.uk index 1c45000fb..dd6f4a414 100644 --- a/drivers/xen/console/Config.uk +++ b/drivers/xen/console/Config.uk @@ -1,7 +1,7 @@ menuconfig LIBXEN_CONSOLE bool "Hypervisor console" select LIBUKCONSOLE - select LIBNOLIBC + select LIBNOLIBC if !HAVE_LIBC depends on PLAT_XEN help Driver for the Xen hypervisor console -- 2.39.5