diff --git a/recipes-core/musl/musl_%.bbappend b/recipes-core/musl/musl_%.bbappend
index 3fac6222eaeec72328f9bf73d1b66c5c09935b74..cc3691385f44a3a294f76f63d6a071df1471cfc7 100644
--- a/recipes-core/musl/musl_%.bbappend
+++ b/recipes-core/musl/musl_%.bbappend
@@ -5,7 +5,7 @@
 BASEVER:oniro-openharmony-linux = "1.2.0"
 SRCREV:oniro-openharmony-linux = "040c1d16b468c50c04fc94edff521f1637708328"
 LIC_FILES_CHKSUM:oniro-openharmony-linux = "file://COPYRIGHT;md5=f95ee848a08ad253c04723da00cedb01"
-FILESEXTRAPATHS:prepend:oniro-openharmony-linux := "${THISDIR}/files:"
+FILESEXTRAPATHS:prepend:oniro-openharmony-linux := "${THISDIR}/openharmony-${OPENHARMONY_VERSION}:"
 SRC_URI:append:oniro-openharmony-linux = " file://openharmony-common.patch"
 SRC_URI:append:oniro-openharmony-linux = " file://openharmony-linux-user.patch"
 # This conflicts with libcap, so we have to go with libcap instead
diff --git a/recipes-core/musl/files/openharmony-common.patch b/recipes-core/musl/openharmony-3.0/openharmony-common.patch
similarity index 100%
rename from recipes-core/musl/files/openharmony-common.patch
rename to recipes-core/musl/openharmony-3.0/openharmony-common.patch
diff --git a/recipes-core/musl/files/openharmony-linux-user-capability_h.patch b/recipes-core/musl/openharmony-3.0/openharmony-linux-user-capability_h.patch
similarity index 100%
rename from recipes-core/musl/files/openharmony-linux-user-capability_h.patch
rename to recipes-core/musl/openharmony-3.0/openharmony-linux-user-capability_h.patch
diff --git a/recipes-core/musl/files/openharmony-linux-user.patch b/recipes-core/musl/openharmony-3.0/openharmony-linux-user.patch
similarity index 100%
rename from recipes-core/musl/files/openharmony-linux-user.patch
rename to recipes-core/musl/openharmony-3.0/openharmony-linux-user.patch