diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-04 02:36:41 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-04 02:47:25 +0100 |
commit | da3c9bb3c5c3b1f2e6e67a3695ce39b17bf68d5b (patch) | |
tree | b81cdd418a4906c846800a8c5094b312e74f57df /script/build/coreboot/utils | |
parent | a05010503f9a748943033d1fc40e36625e72dcbb (diff) |
merge config/ and resources/
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/coreboot/utils')
-rwxr-xr-x | script/build/coreboot/utils | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/build/coreboot/utils b/script/build/coreboot/utils index 80711fae..803d27d4 100755 --- a/script/build/coreboot/utils +++ b/script/build/coreboot/utils @@ -33,7 +33,7 @@ main() err "cannot build cbutils for target, ${board}" done else - for boarddir in resources/coreboot/*; do + for boarddir in config/coreboot/*; do [ ! -d "${boarddir}" ] && continue build_for_mainboard ${boarddir##*/} || \ err "cannot build cbutils for target, ${board}" @@ -43,12 +43,12 @@ main() build_for_mainboard() { board="${1}" - [ -d "resources/coreboot/${board}" ] || \ + [ -d "config/coreboot/${board}" ] || \ err "build_for_mainboard ${board}: boarddir does not exist" - [ -f "resources/coreboot/${board}/target.cfg" ] || \ + [ -f "config/coreboot/${board}/target.cfg" ] || \ err "build_for_mainboard ${board}: target.cfg does not exist" tree="undefined" - . "resources/coreboot/${board}/target.cfg" # source + . "config/coreboot/${board}/target.cfg" # source [ "${tree}" = "undefined" ] && \ err "build_for_mainboard: improper tree definition for '${board}'" buildutils "${tree}" |