Home
last modified time | relevance | path

Searched refs:cfg_content (Results 1 – 2 of 2) sorted by relevance

/DragonOS/build-scripts/kernel_build/src/kconfig/
H A Dmod.rs38 let mut cfg_content = String::new(); in make_compile_cfg() localVariable
41 cfg_content.push_str(&format!("{} = y\n", f.name())); in make_compile_cfg()
43 cfg_content.push_str(&format!("{} = n\n", f.name())); in make_compile_cfg()
48 file.write_all(cfg_content.as_bytes()) in make_compile_cfg()
87 let cfg_content = in parse_kernel_config() localVariable
90 let r = Self::include(&cfg_content); in parse_kernel_config()
132 pub fn include(cfg_content: &str) -> Vec<Module> { in include()
133 let cfg_table: Value = toml::from_str(&cfg_content).expect("Failed to parse kernel.config"); in include()
/DragonOS/tools/
H A Dwrite_disk_image.sh125 cfg_content='set timeout=15
133 echo "echo '${cfg_content}' > ${boot_folder}/grub/grub.cfg" | sh