malformed line in Kconfig

I want to use a switch in the overlay file, like:

#if defined(CONDIG_USE_UART_MODBUS)
	&uart1 {
		compatible = "nordic,nrf-uarte";
		status = "okay";
		current-speed = <9600>;
		pinctrl-0 = <&uart1_mod_default>;
		pinctrl-1 = <&uart1_mod_sleep>;
		pinctrl-names = "default", "sleep";
	
		modbus0 {
			compatible = "zephyr,modbus-serial";
			status = "okay";
			de-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
		};
	};
	/* End of The MODBUS handling stuff.*/
#endif

To do so, I try to add a config statement in a custom KConfig file. (mp_Kconfig.conf):

config USE_UART_MODBUS
   bool
   default y

Adding the file to the build configuration under "Extra KConfig Fragments".
I can see that the file is merged, but it keeps complaining about malformed lines.
I tried spaced instead of tab, removed newline characters at the end, but no result.
We are working under Windows
Any hints how to solve this?

Bob

Related