update setup-makefiles script to match vendor side

Change-Id: Ib8bc2e55e83f40958d207ca244d4273e48f39bed