]> xenbits.xensource.com Git - people/andrewcoop/mini-os.git/commit
add CONFIG_LIBXS item
authorJuergen Gross <jgross@suse.com>
Sun, 16 Jan 2022 06:45:27 +0000 (07:45 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 17 Jan 2022 10:55:47 +0000 (10:55 +0000)
commita91161eb0f92dac4ad6d41f91117268bc23ef28d
treeb06602c5cdee1f8ffd63457822cff5a8b4743cc0
parent9d5dc45420954ab675f789ab948f9111151406cf
add CONFIG_LIBXS item

Mini-OS contains a stripped down version of libxenstore in lib/xs.c.
Today it is being built always if CONFIG_XENBUS is set and libc
support is enabled.

In order to allow a Mini-OS specific build of libxenstore to be used
instead add a new CONFIG_LIBXS item which per default will have the
same setting as CONFIG_XENBUS. A user wanting to replace lib/xs.c
with libxenstore would just need to set CONFIG_XENBUS=y and
CONFIG_LIBXS=n.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Config.mk
Makefile
arch/x86/testbuild/all-no
arch/x86/testbuild/all-yes
arch/x86/testbuild/newxen-yes
lib/sys.c