[PATCH] Add CONFIG_CHROMIUM option

Jouni Malinen j at w1.fi
Wed Dec 20 13:59:02 PST 2023


On Wed, Dec 20, 2023 at 08:23:09PM +0000, Matthew Wang wrote:
> Hide ChromeOS specific code behind a flag.

> diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
> @@ -491,6 +491,10 @@ else
> +ifdef CONFIG_CHROMIUM
> +CFLAGS += -DCHROMIUM
> +endif

I would need to have some more details on how this flag might be used in
the future to be able to determine whether this is a reasonable
approach. As an example, if you just need to define CHROMIUM and this
would not have impact to how the Makefile is used (e.g., selectively
adding some source code files), it would be simpler to just add "CFLAGS
+= -DCHROMIUM" into wpa_supplicant/.config used in the builds than make
this go through the Makefile.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list