you dont upload to yocto, yocto is a build system and the output of this is a linux distribution named poky
you can do the same with ubilinux (debian) you have gcc, g++, make, vi, nano and much more
if your project need iotdk either use poky and not ubilinux or rewrite your code to not use the iotdk