add REPO_PLATFORM to buildauto and buildotherrepo