diff --git a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
index 5b641fba..a64a24ab 100644
--- a/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
+++ b/meta/recipes-support/isar-exclude-docs/isar-exclude-docs_0.2.3.bb
@@ -15,6 +15,6 @@ do_install() {
     install -v -m 644 "${WORKDIR}/${BPN}" "${D}/etc/dpkg/dpkg.cfg.d/99${BPN}"
 }
 
-do_prepare_build() {
+do_prepare_build:prepend() {
     bbwarn "This package is deprecated. Use the corresponding exclude-docs rootfs feature instead."
 }
