USERPATCHES_PATH
customization and inconsistency across the framework
#7091
Labels
USERPATCHES_PATH
customization and inconsistency across the framework
#7091
By chance I was thinking about organizing various custom configurations I thought about having multiple directories for userpatches and define one of these at runtime.
From what I've seen the path seems to be set here:
build/lib/functions/cli/entrypoint.sh
Line 87 in 134ae29
and from there going forward the path should be stored in
$USERPATCHES_PATH
variable, right?However search simply for
userpatches
reveals that on several occasions the path seems to be hard-coded (list incomplete):build/lib/functions/cli/utils-cli.sh
Line 147 in 134ae29
build/extensions/gen-sample-extension-docs.sh
Line 13 in 134ae29
build/lib/functions/host/docker.sh
Line 572 in 134ae29
So the question is am I wrong here for some reason? Is this intended? Should the path be stored in a variable everywhere? Should the patch possible be customizable? Like
./compile.sh BOARD=asdf USERPATCHES_PATH=asdf MyConfigInAsdf
The text was updated successfully, but these errors were encountered: