moxie_ss = ss.source_set() moxie_ss.add(when: 'CONFIG_MOXIESIM', if_true: files('moxiesim.c')) hw_arch += {'moxie': moxie_ss}