Make sure bintest only works with host target.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-08-04 10:39:33 +09:00
parent 5e9dc72bc5
commit 84a68ca5ae
4 changed files with 1 additions and 5 deletions
+1
View File
@@ -196,6 +196,7 @@ EOS
end
def enable_bintest
raise "bintest works only on 'host' target" unless name == "host"
@enable_bintest = true
end