mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +02:00
build/cbutil: avoid frivilous use of subshells
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# helper script: build various coreboot utilities
|
# helper script: build various coreboot utilities
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014, 2015, 2016, 2020, 2021 Leah Rowe <info@minifree.org>
|
# Copyright (C) 2014-2016,2020,2021,2023 Leah Rowe <info@minifree.org>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -64,10 +64,8 @@ buildutils() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
for util in cbfstool ifdtool; do
|
for util in cbfstool ifdtool; do
|
||||||
(
|
make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \
|
||||||
cd "coreboot/${cbtree}/util/${util}/"
|
|| return 1
|
||||||
make -j$(nproc) || return 1
|
|
||||||
)
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user