build: implement support for selecting multiple device profiles