While writing patch 2 I stumbled over CONFIG_TEST having no effect at the C source level, so I added patch 1 to avoid further similar problems.
The additionally fixed CONFIG_XC issue wasn't triggered in any known case, probably as FTYPE_XC hasn't been used in our code base. Juergen Gross (2): mini-os: make config handling more generic mini-os: move test functions under CONFIG_TEST Config.mk | 66 +++++++++++++++++++++---------------------------- xenbus/xenbus.c | 32 +++++++++++++----------- 2 files changed, 45 insertions(+), 53 deletions(-) -- 2.26.2