download/coreboot: run extra.sh from cbtree
to my knowledge, this feature has never been used, but lbmk permits resources/coreboot/boardname/extra.sh to execute, as provided by the maintainer, with working directory set to: coreboot/boardname this could be used to extend lbmk in a number of ways for example, it could be used to patch 3rdparty/ it could also be used to break coreboot in creative and novel ways. hint hint.
This commit is contained in:
parent
c4b0825c5e
commit
66d06afd6c
1 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,8 @@ prepare_new_coreboot_tree()
|
||||||
|
|
||||||
# extra.sh can be used for anything
|
# extra.sh can be used for anything
|
||||||
# but should *only* be a last resort
|
# but should *only* be a last resort
|
||||||
if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then
|
if [ -f "../../resources/coreboot/${cbtree}/extra.sh" ]; then
|
||||||
"../../resources/coreboot/${_board}/extra.sh" || \
|
"../../resources/coreboot/${cbtree}/extra.sh" || \
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue