[PATCH 2/5] build: add WIRELESS_SUPPORT feature

Petr Štetiar ynezz at true.cz
Thu Jun 15 07:32:09 PDT 2023


So we can clearly mark targets having wireless support.

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

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



More information about the openwrt-devel mailing list