diff --git a/meta-oniro-core/recipes-core/busybox/busybox_%.bbappend b/meta-oniro-core/recipes-core/busybox/busybox_%.bbappend
index 644e15d35fed9ede974960b79b085a8ce8179f2e..162b87abca65153de4d60362654922b54c8958f7 100644
--- a/meta-oniro-core/recipes-core/busybox/busybox_%.bbappend
+++ b/meta-oniro-core/recipes-core/busybox/busybox_%.bbappend
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 SRC_URI += "file://busybox-1.31.1-Wformat-security.patch \
 	file://oniro.cfg"
 
@@ -14,5 +14,5 @@ SRC_URI += "file://busybox-1.31.1-Wformat-security.patch \
 # -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode
 # while keeping busybox building.
 
-TARGET_CFLAGS_remove = "-Wformat-nonliteral -Werror=format-nonliteral"
+TARGET_CFLAGS:remove = "-Wformat-nonliteral -Werror=format-nonliteral"