toolchain: use symbolic names for targets
packageinfo: allow specifying target platforms for each package