                }
            }
        } else {
            if in_cargo {
                println!("cargo:warning=No link script found, please check that you have selected a known device variant from the following:");        
                for v in device.variants.iter() {
                    println!("cargo:warning=   {}", v.name);
                }
            }