Common extract-files/setup-makefiles for CM devices

This will allow devices to have a simple extract-files.sh in the
device tree describing the variables and calling the common setup
here.

Change-Id: Icc04cc4a35b7b05a67ccc50febf1d6cae50aa2ba