From 898e1ecc1eeafff99dff8987bc424542786d7f3f Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Fri, 27 Feb 2015 15:58:44 -0500 Subject: Add golang-cross This package is derived from meta-golang: https://github.com/digitallumens/meta-golang.git commit 3fa6c8af6b4762de2f4e6740e327a5a71c29e6e1 In the meta-golang version, golang depends on a gcc-cross that causes conflicts with our toolchain. So the golang-cross recipe was extracted and then the following changes were made to work in wrlinux: - our TARGET_ARCH is x86-64, golang-cross wants amd64 - in the former recipe, compile fails because it can't find header files and libraries because --sysroot is dropped. So I redefined the target cc and target cxx as cc and cxx at the start of the compile rule since cc gets redefined in there somewhere. Signed-off-by: Amy Fong --- recipes-devtools/go/golang-1.3.inc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-devtools/go/golang-1.3.inc (limited to 'recipes-devtools/go/golang-1.3.inc') diff --git a/recipes-devtools/go/golang-1.3.inc b/recipes-devtools/go/golang-1.3.inc new file mode 100644 index 00000000..5c507b45 --- /dev/null +++ b/recipes-devtools/go/golang-1.3.inc @@ -0,0 +1,4 @@ +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=591778525c869cdde0ab5a1bf283cd81" +SRC_URI[md5sum] = "4b66d7249554181c314f139ea78920b1" +SRC_URI[sha256sum] = "eb983e6c5b2b9838f482c5442b1ac1856f610f2b21f3c123b3fedb48ffc35382" -- cgit v1.2.3-54-g00ecf