diff mbox series

[2/5] build: add WIRELESS_SUPPORT feature

Message ID 20230615143212.2464680-3-ynezz@true.cz
State Superseded
Delegated to: Petr Štetiar
Headers show
Series Fix missing TLS v1.3 support with OpenSSL | expand

Commit Message

Petr Štetiar June 15, 2023, 2:32 p.m. UTC
So we can clearly mark targets having wireless support.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 scripts/target-metadata.pl | 1 +
 target/Config.in           | 3 +++
 2 files changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index aa81301dc5f2..f25df0809671 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -49,6 +49,7 @@  sub target_config_features(@) {
 		/^usb$/ and $ret .= "\tselect USB_SUPPORT\n";
 		/^usbgadget$/ and $ret .= "\tselect USB_GADGET_SUPPORT\n";
 		/^virtio$/ and $ret .= "\tselect VIRTIO_SUPPORT\n";
+		/^wireless$/ and $ret .= "\tselect WIRELESS_SUPPORT\n";
 	}
 	return $ret;
 }
diff --git a/target/Config.in b/target/Config.in
index b1c99b63000a..195f7161a89b 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -122,6 +122,9 @@  config USES_ROOTFS_PART
 config USES_BOOT_PART
 	bool
 
+config WIRELESS_SUPPORT
+	bool
+
 # Architecture selection
 
 config aarch64