]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
xvisor: fix bogus check on XVISOR_ARCH
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Jul 2017 09:42:29 +0000 (11:42 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Jul 2017 13:39:49 +0000 (15:39 +0200)
commit0fcc2c1da98af7f80f8e3baae92078ed99b3d173
treeaf299ff10d05d31c4691acb86481dccaa97e5cc2
parente6e0807ca1cfa440a28025ad78370b6b12ae3ec5
xvisor: fix bogus check on XVISOR_ARCH

The XVISOR_ARCH check added in commit
117fd5dfbc756c4f2b4aef97fc2b568528c66df7 ("xvisor: fix build on
AArch64") broke Buildroot entirely on all architectures except ARM,
AArch64 and x86-64, because the $(error ...) test was not enclosed
inside a condition that made sure the xvisor package was enabled.

This commit fixes that, and allows Buildroot to be usable again on all
architectures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 27ce235cdb996dc691c28a95f6acc9c479ef1fb8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/xvisor/xvisor.mk