factor chip specific stuff in Makefile
factor chip specific stuff in Makefile

Signed-off-by: Vladimir Pantelic <dc9186a06078733915a6fcbab34e59120be2b484@pantelic.net>

av500/stemplate,av500/stemplate,av500/stemplate