Skip to content

Commit c280b83

Browse files
committed
Add comment explaining FORCE_UNSAFE_CONFIGURE
[skip ci]
1 parent bddbe62 commit c280b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/wally-tool-chain-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ if [ ! "$no_buidroot" ]; then
473473
fi
474474
cd "$dir"/../linux
475475
if [ ! -e "$RISCV"/buildroot ]; then
476-
FORCE_UNSAFE_CONFIGURE=1 make 2>&1 | logger $STATUS; [ "${PIPESTATUS[0]}" == 0 ]
476+
FORCE_UNSAFE_CONFIGURE=1 make 2>&1 | logger $STATUS; [ "${PIPESTATUS[0]}" == 0 ] # FORCE_UNSAFE_CONFIGURE is needed to allow buildroot to compile when run as root
477477
echo -e "${SUCCESS_COLOR}Buildroot successfully installed and Linux testvectors created!${ENDC}"
478478
elif [ ! -e "$RISCV"/linux-testvectors ]; then
479479
echo -e "${OK_COLOR}Buildroot already exists, but Linux testvectors are missing. Generating them now.${ENDC}"

0 commit comments

Comments
 (0)