move common overlay to common make file.
make use of make conditional statement