avoid exceeding commandline limits

by using make's file function via the var2file wrapper instead of
using loooooong echo statements

Change-Id: Ie81007ad7de8c4e9f4d07724fba3cbe0e93f821d