From 4bbe5550579f7298c8f4373dc6293858e1558e57 Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Wed, 14 Feb 2024 01:24:31 +0100
Subject: [PATCH] generic: fix ramips-mt76x8 compile

The ramips-mt76x8 target is now flagged as a small-flash target. Those
targets can not be compiled with KERNEL_IO_URING support, thus the
config option is not exposed.

Try disabling the config option to avoid failing on this platform.

Signed-off-by: David Bauer <mail@david-bauer.net>
---
 targets/generic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/generic b/targets/generic
index 5a2f73a9..48f6ad0a 100644
--- a/targets/generic
+++ b/targets/generic
@@ -59,7 +59,7 @@ try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256)
 
 config('KERNEL_PROC_STRIPPED', true)
 config('KERNEL_AIO', false)
-config('KERNEL_IO_URING', false)
+try_config('KERNEL_IO_URING', false)
 config('KERNEL_FHANDLE', false)
 config('KERNEL_FANOTIFY', false)
 config('KERNEL_CGROUPS', false)
-- 
GitLab