diff --git a/meta-oniro-core/recipes-devtools/binutils/binutils_2.37.bbappend b/meta-oniro-core/recipes-devtools/binutils/binutils_2.37.bbappend
index cc6a8adb07c8b5965a5616401e4d8ad2aa5ca9b0..9b5127148b548b23f4d9c15e444ef33c3a7520c8 100644
--- a/meta-oniro-core/recipes-devtools/binutils/binutils_2.37.bbappend
+++ b/meta-oniro-core/recipes-devtools/binutils/binutils_2.37.bbappend
@@ -2,6 +2,6 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
-do_install_append_class-target () {
+do_install:append:class-target () {
     chmod o-rx ${D}${prefix}/${TARGET_SYS}/bin/*
 }