Build system will use an XN or target system name. It's not clear, however, that when specifying an XN file one should leave out the extension. This might be documented elsewhere but it's probably worth mentioning in its usage description, e.g. in https://github.com/xcore/xcore_template/blob/master/app_template/Makefile#L1