m8spr: correct setup-makefiles script

Change-Id: Ie719abe3af0ea7d9b467a76416682b0d59972ee8