diff --git a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
index 00f027ea85..22f6deaac9 100644
--- a/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-black_26.5.1.bb
@@ -24,3 +24,5 @@ RDEPENDS:${PN} = " \
     python3-typing-extensions \
     python3-pytokens \
 "
+
+BBCLASSEXTEND = "native nativesdk"
