meta-nuvoton: npcm8xx-bootloader: fix dependency

The keyword DEPENDS add current recipe do_prepare_recipe_sysroot depends
on target recipe do_populate_sysroot, but the image we really need is
from do_deploy.

Tested:
Build pass and the boot OK.

Change-Id: I933c65110243238f66136f916395af3916f7a0b6
Signed-off-by: Brian Ma <chma0@nuvoton.com>
diff --git a/meta-nuvoton/recipes-bsp/images/npcm8xx-bootloader_0.1.0.bb b/meta-nuvoton/recipes-bsp/images/npcm8xx-bootloader_0.1.0.bb
index 69ceeae..452413c 100644
--- a/meta-nuvoton/recipes-bsp/images/npcm8xx-bootloader_0.1.0.bb
+++ b/meta-nuvoton/recipes-bsp/images/npcm8xx-bootloader_0.1.0.bb
@@ -16,10 +16,7 @@
 
 S = "${WORKDIR}/git"
 
-DEPENDS = " \
-    npcm8xx-tip-fw npcm8xx-bootblock trusted-firmware-a optee-os \
-    u-boot-nuvoton npcm7xx-bingo-native openssl-native \
-"
+DEPENDS = "npcm7xx-bingo-native openssl-native"
 inherit obmc-phosphor-utils
 inherit python3native deploy
 FILE_FMT = "file://{}"
@@ -59,6 +56,10 @@
     fi
 }
 
+do_compile[depends] += " \
+    npcm8xx-tip-fw:do_deploy npcm8xx-bootblock:do_deploy \
+    trusted-firmware-a:do_deploy optee-os:do_deploy \
+    u-boot-nuvoton:do_deploy"
 do_compile() {
     # copy Openbmc built images
     cd ${DEPLOY_DIR_IMAGE}