package/pkg-golang: add support for building host packages
authorMirza Krak <mirza.krak@northern.tech>
Wed, 6 Feb 2019 13:23:58 +0000 (14:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 17 Mar 2019 16:21:10 +0000 (17:21 +0100)
commitaba08cd218315c8ce5ec97c5e2dd5edbcfa47fdd
tree701f759f7e0f9b991b4d62190e327f82a45522fb
parent8291bc77930a5ef87f98d1ff97c486dddfcdb244
package/pkg-golang: add support for building host packages

With this you can add:

    $(eval $(host-golang-package))

to a package .mk file to build for host.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Acked-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
docs/manual/adding-packages-golang.txt
package/go/Config.in.host
package/pkg-golang.mk