]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
Binutils: ARC: Fix build failures if makeinfo is missing
authorZakharov Vlad <Vladislav.Zakharov@synopsys.com>
Mon, 6 Jun 2016 11:14:19 +0000 (14:14 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Jun 2016 19:33:54 +0000 (21:33 +0200)
commitcaf515e25e699eb306d0b24986734790de80af28
tree9389fd55711d68fcfd1af11573ac004e91123d65
parent5c6d20c9dc69ea1d61f59ce1effa8f5c55be69b9
Binutils: ARC: Fix build failures if makeinfo is missing

Build failed when "makeinfo" was missing on the build host.
This was happening because "makeinfo" is required to build .info targets
and make exited with error. The issue hadn't appeared before as there was
prebuilt documentation in ARC binutils tarballs, so no attempts had been
made to build docs.

Missing "makeinfo" only stops us from building docs
("missing" script already throws a warning on that regard).
Let's continue to build other targets.

Now exit code of the script called "missing" is checked.
The value 127 means that "makeinfo" is not available on the build host.

So when such value occurs, 0 is returned to the top level makefile.
Documentation is not being built but further build of binutils continues.

Fixes http://autobuild.buildroot.net/results/55c/55cd09a559016f4f252f0e4c27313b9806135cf4//

Signed-off-by: Zakharov Vlad <vzakhar@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/arc-2016.03/0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch [new file with mode: 0644]