vboot-utils: fix ARCH detection
authorAlex Suykov <alex.suykov@gmail.com>
Tue, 7 Nov 2017 10:17:15 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 11 Nov 2017 22:38:49 +0000 (23:38 +0100)
commitbbb25c3ad7b66e6882508e49028d1739732bca34
treef18380e4402782308c7f605d6af615d883b9bb2f
parentd127d1159c15eb985f71707b59afe3a4038fe91f
vboot-utils: fix ARCH detection

The package includes some target-specific code that is irrelevant
in a host package but gets built anyway. The target for this code
must be one of the supported ChromeOS targets.

Supplied Makefile apparently relies on the environment to provide
a valid target, with a simple fallback to host arch. This breaks
the build if no value is provided and the host arch is not among
the supported ones.

Should fix
http://autobuild.buildroot.net/results/d118a83b6c4f7f910d0d44c279f36251d7ba29e8/
and similar failures.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/vboot-utils/vboot-utils.mk