aboutsummaryrefslogtreecommitdiff
path: root/projects/coreboot/coreboot-helper
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-10-09 18:32:12 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2018-10-09 18:32:12 -0400
commit0fce215ebc61a162e95e745d42eb87849cd0b85d (patch)
treeccc874cc093e3a10cb481aed8d38c6e410e0845a /projects/coreboot/coreboot-helper
parent72d712adf0643a4b714116ebd648cdbb6d64c502 (diff)
downloadlibrebootfr-0fce215ebc61a162e95e745d42eb87849cd0b85d.tar.gz
librebootfr-0fce215ebc61a162e95e745d42eb87849cd0b85d.zip
Allow multiple config files when building Coreboot
The base configuration for a given board can be overriden by config files (also named "config") placed into target-specific subdirectories. These additional configurations are read and passed to make as arguments, overriding their counterparts in the base config file; consquently, commented lines should not be added to these configs. R400/T400/T500/W500 ROMs may now be built for 4/8/16mb flash chip sizes.
Diffstat (limited to 'projects/coreboot/coreboot-helper')
-rwxr-xr-xprojects/coreboot/coreboot-helper4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/coreboot/coreboot-helper b/projects/coreboot/coreboot-helper
index ad696a16..d32ccb67 100755
--- a/projects/coreboot/coreboot-helper
+++ b/projects/coreboot/coreboot-helper
@@ -25,6 +25,10 @@ coreboot_arch() {
project_file_contents "$project" "$CONFIGS" "$ARCH" "$@"
}
+coreboot_config() {
+ project_file_contents_herit "$project" "$CONFIGS" "$CONFIG" "$@"
+}
+
coreboot_config_path() {
project_file_path "$project" "$CONFIGS" "$CONFIG" "$@"
}