diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-05 15:26:33 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-11-05 16:05:54 -0200 |
commit | a2c7fdc0fd880d31b8dbd2c31e6fefdc8a916202 (patch) | |
tree | d0886ac1cca922d6e38d0d179764f37959755eb9 /recipes-bsp/imx-vpu | |
parent | 584381a876ad2bc6879ddfcb03b227b064c8a301 (diff) | |
download | meta-fsl-arm-a2c7fdc0fd880d31b8dbd2c31e6fefdc8a916202.tar.gz |
imx-vpu (3.10.9-1.0.0): Fix build system to use OE build flags
The build system needs to allow override of CC and AR variables so OE
can pass proper flags for it; this includes a patch to allow it to
happen and fix builds in O.S. Systems autobuilder.
Change-Id: I974166244df3f743b21a00d705097602108449b2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/imx-vpu')
-rw-r--r-- | recipes-bsp/imx-vpu/imx-vpu-3.10.9-1.0.0/build-Allow-CC-and-AR-to-be-overriden.patch | 33 | ||||
-rw-r--r-- | recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes-bsp/imx-vpu/imx-vpu-3.10.9-1.0.0/build-Allow-CC-and-AR-to-be-overriden.patch b/recipes-bsp/imx-vpu/imx-vpu-3.10.9-1.0.0/build-Allow-CC-and-AR-to-be-overriden.patch new file mode 100644 index 0000000..1a014aa --- /dev/null +++ b/recipes-bsp/imx-vpu/imx-vpu-3.10.9-1.0.0/build-Allow-CC-and-AR-to-be-overriden.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 97cb0b711ce1a9d0dd3de51480d2e3a1399ce34c Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 5 Nov 2013 15:20:15 -0200 | ||
4 | Subject: [PATCH] build: Allow CC and AR to be overriden | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | This is need to allow proper building when using Yocto and multiple | ||
8 | machines sharing sstate-cache, otherwise the toolchain is going to | ||
9 | default to use the first build machine sysroot due lack of '-sysroot' | ||
10 | option. | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
15 | --- | ||
16 | vpu/Makefile | 4 ++-- | ||
17 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
18 | |||
19 | diff --git a/vpu/Makefile b/vpu/Makefile | ||
20 | index b106631..dec2429 100644 | ||
21 | --- a/vpu/Makefile | ||
22 | +++ b/vpu/Makefile | ||
23 | @@ -1,5 +1,5 @@ | ||
24 | -CC=$(CROSS_COMPILE)gcc | ||
25 | -AR=$(CROSS_COMPILE)ar | ||
26 | +CC ?= $(CROSS_COMPILE)gcc | ||
27 | +AR ?= $(CROSS_COMPILE)ar | ||
28 | |||
29 | # list of platforms which want this test case | ||
30 | INCLUDE_LIST:= IMX27ADS IMX51 IMX53 IMX6Q | ||
31 | -- | ||
32 | 1.8.4.rc3 | ||
33 | |||
diff --git a/recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb b/recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb index b288a6a..c4705c7 100644 --- a/recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb +++ b/recipes-bsp/imx-vpu/imx-vpu_3.10.9-1.0.0.bb | |||
@@ -3,6 +3,8 @@ require imx-vpu.inc | |||
3 | 3 | ||
4 | PE = "1" | 4 | PE = "1" |
5 | 5 | ||
6 | SRC_URI += "file://build-Allow-CC-and-AR-to-be-overriden.patch" | ||
7 | |||
6 | SRC_URI[md5sum] = "61331c9ed2d4c1b3aeab9c35fd034ac3" | 8 | SRC_URI[md5sum] = "61331c9ed2d4c1b3aeab9c35fd034ac3" |
7 | SRC_URI[sha256sum] = "5dd86a26c8d3013e0d78308b1ccd8815730818e465787f55013b492d2d3c7710" | 9 | SRC_URI[sha256sum] = "5dd86a26c8d3013e0d78308b1ccd8815730818e465787f55013b492d2d3c7710" |
8 | 10 | ||