set the PROFILE variable in target.mk appropriately