build: update

Change-Id: Ib04540a48524805fe28915bfb0570bf148210788
build: allow define remote

Change-Id: I28f532995423ec30df6b2154db2e79726c3150f4