Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Build regression after 2022.02.01
@ 2022-04-28 17:39 Kristof Havasi
  2022-04-28 21:22 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Kristof Havasi @ 2022-04-28 17:39 UTC (permalink / raw)
  To: buildroot

Hi there!

I just updated from 2022.02 to 2022.02.01.

My build broke due to 8945ba49480a7885d10444
"toolchain/toolchain-external: error if BR2_TOOLCHAIN_EXTERNAL_PATH is not set"

I selected a bootlin toolchain for armv7, which is installed on the
build system and is available
via PATH. As the help string of BR2_TOOLCHAIN_EXTERNAL_PATH describes, if it is
empty, then PATH will be searched.

If I revert the above commit the build succeeds like before.

I could see the reason behind the check in the commit for the case,
where the toolchain is yet to be downloaded, but then the lines ended
up in the wrong
branch of the if/else statement.

In case the toolchain is already available via PATH, I suggest to
follow the previous logic
and description in the help text:
     "If empty, the compiler will be searched in $PATH."

Best Regards,
Kristóf
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-28 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-28 17:39 [Buildroot] Build regression after 2022.02.01 Kristof Havasi
2022-04-28 21:22 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox