diff --git a/classes/elphel-dev.bbclass b/classes/elphel-dev.bbclass
index fe972656fa6fd6de9885ecf2cd77521c2eb9b662..eefd1903dce173f8d9fc4b0571043c236ddc5d8d 100644
--- a/classes/elphel-dev.bbclass
+++ b/classes/elphel-dev.bbclass
@@ -7,6 +7,11 @@ do_unpack(){
         rm -rf ${S}
     fi
     ln -sf ${VPATH} ${S}
+    
+    if [ -d ${VPATH}/sysroots ]; then
+        rm -rf ${VPATH}/sysroots
+    fi
+    ln -sf ${TOPDIR}/tmp/sysroots ${VPATH}/sysroots
 }
 
 EXTRA_OEMAKE = " \