all: use baremetal build tag

This simplifies adding more baremetal targets, like a GameBoy Advance,
or baremetal x86 for unikernels.
This commit is contained in:
Ayke van Laethem
2019-07-31 20:32:18 +02:00
committed by Ron Evans
parent f76385850d
commit 54169c714f
19 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// +build !stm32f4disco,!hifive1b
// +build avr nrf sam stm32,!stm32f4disco
package machine
+1 -1
View File
@@ -1,4 +1,4 @@
// +build !avr,!nrf,!sam,!sifive,!stm32
// +build !baremetal
package machine
+1 -1
View File
@@ -1,4 +1,4 @@
// +build !stm32f407,!avr,!hifive1b
// +build nrf sam stm32,!stm32f407
package machine
+1 -1
View File
@@ -1,4 +1,4 @@
// +build avr cortexm tinygo.riscv wasm
// +build baremetal wasm
package os
+1 -1
View File
@@ -1,4 +1,4 @@
// +build darwin linux,!avr,!cortexm,!tinygo.riscv
// +build darwin linux,!baremetal
package os
+1 -1
View File
@@ -1,4 +1,4 @@
// +build arm,!avr,!cortexm,!tinygo.riscv
// +build arm,!baremetal
package runtime
+1 -1
View File
@@ -1,4 +1,4 @@
// +build avr cortexm tinygo.riscv
// +build baremetal
package runtime
+1 -1
View File
@@ -1,5 +1,5 @@
// +build gc.conservative
// +build cortexm tinygo.riscv
// +build baremetal
package runtime
+1 -1
View File
@@ -1,5 +1,5 @@
// +build gc.conservative
// +build !cortexm,!tinygo.riscv
// +build !baremetal
package runtime
+1 -1
View File
@@ -1,5 +1,5 @@
// +build gc.conservative
// +build !cortexm,!tinygo.riscv
// +build !baremetal
package runtime
+1 -1
View File
@@ -1,5 +1,5 @@
// +build gc.conservative
// +build cortexm tinygo.riscv
// +build baremetal
package runtime
+1 -1
View File
@@ -1,4 +1,4 @@
// +build darwin linux,!avr,!cortexm,!tinygo.riscv
// +build darwin linux,!baremetal
package runtime
+1 -1
View File
@@ -1,4 +1,4 @@
// +build avr cortexm
// +build baremetal
package syscall
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build avr cortexm
// +build baremetal
package syscall