mkimg: unset $PYTHONSAFEPATH because it break OpenSBI build

Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com>
This commit is contained in:
Celeste Liu 2023-12-08 21:36:57 +08:00
parent fabb0a7fc3
commit 542aae6de5
No known key found for this signature in database
GPG key ID: E35C89E45867AE35

3
mkimg
View file

@ -117,6 +117,9 @@ then
fi fi
pushd opensbi pushd opensbi
# If user set it, OpenSBI will failed to build.
unset PYTHONSAFEPATH
make \ make \
CROSS_COMPILE=riscv64-linux-gnu- \ CROSS_COMPILE=riscv64-linux-gnu- \
PLATFORM=generic \ PLATFORM=generic \