Add extract-files and setup-makefiles

Change-Id: Ie59fb5bd40fa82bf398bd6380cd202fbcccb910a
Merge branch 'cm-10.1' into martincz