diff options
3 files changed, 10 insertions, 43 deletions
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-3.10.31-1.1.0/obey-variables.patch b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-3.10.31-1.1.0/obey-variables.patch deleted file mode 100644 index 7071e9ecd..000000000 --- a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-3.10.31-1.1.0/obey-variables.patch +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | Obey CFLAGS, LDFLAGS | ||
| 2 | |||
| 3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
| 4 | Upstream-status: Pending | ||
| 5 | |||
| 6 | --- imx-vpu-3.10.17-1.0.0_beta.orig/vpu/Makefile | ||
| 7 | +++ imx-vpu-3.10.17-1.0.0_beta/vpu/Makefile | ||
| 8 | @@ -1,5 +1,6 @@ | ||
| 9 | CC ?=$(CROSS_COMPILE)gcc | ||
| 10 | AR ?=$(CROSS_COMPILE)ar | ||
| 11 | +CFLAGS ?= -O2 | ||
| 12 | |||
| 13 | # list of platforms which want this test case | ||
| 14 | INCLUDE_LIST:= IMX27ADS IMX51 IMX53 IMX6Q | ||
| 15 | @@ -33,10 +34,10 @@ all install : | ||
| 16 | endif | ||
| 17 | |||
| 18 | %.o: %.c | ||
| 19 | - $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@ | ||
| 20 | + $(CC) -D$(PLATFORM) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
| 21 | |||
| 22 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
| 23 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ -lpthread | ||
| 24 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ $(LDFLAGS) -lpthread | ||
| 25 | |||
| 26 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
| 27 | ln -s $< $@ | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_3.10.31-1.1.0.bb b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_3.10.31-1.1.0.bb deleted file mode 100644 index 85ada4954..000000000 --- a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_3.10.31-1.1.0.bb +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | # Copyright (C) 2013, 2014 Freescale Semiconductor | ||
| 2 | |||
| 3 | require imx-vpu.inc | ||
| 4 | |||
| 5 | PE = "1" | ||
| 6 | |||
| 7 | # FIXME: Drop 'beta' suffix for GA release | ||
| 8 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}-beta.bin;fsl-eula=true" | ||
| 9 | S = "${WORKDIR}/${PN}-${PV}-beta" | ||
| 10 | |||
| 11 | SRC_URI += "file://obey-variables.patch" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "ab76e7395b6a178a8538a6d5beb87656" | ||
| 14 | SRC_URI[sha256sum] = "22d0542bd4d7beb88084575c834bf9045c8e2acc43acdd2ec4e0e5534b4b9c5e" | ||
| 15 | |||
| 16 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.27.bb b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.27.bb new file mode 100644 index 000000000..e733287af --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.27.bb | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
| 2 | |||
| 3 | require imx-vpu.inc | ||
| 4 | |||
| 5 | PE = "1" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "3dc36b427fc2b91af05504f39f8f964f" | ||
| 8 | SRC_URI[sha256sum] = "e4e983f465c2ed296908dfe2bfcff2890c8f05b38f6ae98e7a7879b23a2b1a4e" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "(mx6)" | ||
