You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
u-boot: add HOME env for make invocations to avoid binman/Python problems with older u-boot versions
- this avoids trouble building certain older versions with binman
- as it tries to `os.path.join(os.getenv('HOME'), 'bin')` and gets a `None` and dies
- naming names: `tinkerboard` & `xt-q8l-v10` (BOARDFAMILY=rockchip), which _actually use_ binman & 22.04 combo
Copy file name to clipboardexpand all lines: lib/functions/compilation/uboot.sh
+1
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ function compile_uboot_target() {
214
214
"CCACHE_BASEDIR=$(pwd)"
215
215
"PATH=${toolchain}:${toolchain2}:${PATH}"
216
216
"PYTHONPATH=\"${PYTHON3_INFO[MODULES_PATH]}:${PYTHONPATH}\""# Insert the pip modules downloaded by Armbian into PYTHONPATH (needed e.g. for pyelftools)
217
+
"HOME=${WORKDIR}"# give it a temporary-dir HOME; some Python stuff in old u-boots wants HOME env to be set
0 commit comments