Toward a context-driven deployment optimization for embedded systems: a product line approach