build: Fix the relative paths to deps
Change-Id: Id31bad9c72c198fa1b9c7e05c5b256598da65138
diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak
index 4b81916..ef545c7 100644
--- a/iMX8M/soc.mak
+++ b/iMX8M/soc.mak
@@ -14,10 +14,10 @@
DIR = build-output/Linux_IMX_4.9_morty_trunk_next_mx8/$(N)/common_bsp
FW_DIR = imx-boot/imx-boot-tools/imx8mq
-rootdir = ../../../../..
+rootdir = ../../..
ifeq ($(TARGET_PRODUCT), iot_imx8m_phanbell)
device_name = phanbell
-vendor_binary = $(rootdir)/vendor/bsp/freescale/imx8m/$(device_name)/u-boot
+vendor_binary = $(rootdir)/imx-firmware/imx8m
uboot_out = $(rootdir)/out/target/product/imx8m_$(device_name)/obj/UBOOT_OBJ
else ifeq ($(TARGET_PRODUCT), iot_imx8m_ref)
vendor_binary = $(rootdir)/vendor/bsp/freescale/imx8m/phanbell/u-boot