summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-test/imx-test
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2019-12-04 14:23:36 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2019-12-04 16:34:50 -0300
commitae54373b9cae89f05e7d615f4db65f7daed0249c (patch)
treed26633b26ca843f9ba4ffffabcdea16bf48ac876 /recipes-bsp/imx-test/imx-test
parentfa83024457cc6df2ab7dba7683c9363e1d3475c4 (diff)
downloadmeta-freescale-ae54373b9cae89f05e7d615f4db65f7daed0249c.tar.gz
imx-test: update test package version to imx_4.19.35_1.1.0
Update the imx-test package branch to imx_4.19.35_1.1.0 which matches the latest linux-imx kernel release (uses same branch naming). Additionally, introduce the patch that solves trivial compilation issue under gcc9. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-bsp/imx-test/imx-test')
-rw-r--r--recipes-bsp/imx-test/imx-test/0001-mxc_v4l2_test-fix-compilation-error-produced-by-gcc9.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-bsp/imx-test/imx-test/0001-mxc_v4l2_test-fix-compilation-error-produced-by-gcc9.patch b/recipes-bsp/imx-test/imx-test/0001-mxc_v4l2_test-fix-compilation-error-produced-by-gcc9.patch
new file mode 100644
index 00000000..3fb9d4ef
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/0001-mxc_v4l2_test-fix-compilation-error-produced-by-gcc9.patch
@@ -0,0 +1,39 @@
1From d2e35983281a811b38e540ab82e7643322e84aab Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
3Date: Wed, 4 Dec 2019 14:17:50 +0000
4Subject: [PATCH] mxc_v4l2_test: fix compilation error produced by gcc9
5
6Fix trivial compilation error when GCC9 is used:
7
8error: call to '__open_missing_mode' declared with attribute error: open
9with O_CREAT or O_TMPFILE in second argument needs 3 arguments
10
11This is now caused by not explicitly supplying the mode when O_CREAT is
12used as disposition.
13
14Upstream-Status: Pending
15
16Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
17---
18 test/mxc_v4l2_test/mx8_v4l2_cap_drm.c | 4 ----
19 1 file changed, 4 deletions(-)
20
21diff --git a/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c b/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c
22index 6e10744..d63b2db 100644
23--- a/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c
24+++ b/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c
25@@ -561,11 +561,7 @@ static int open_save_file(struct video_channel *video_ch)
26
27 for (i = 0; i < NUM_SENSORS; i++) {
28 if ((g_cam >> i) & 0x01) {
29-#ifdef BUILD_FOR_ANDROID
30 fd = open(video_ch[i].save_file_name, O_RDWR | O_CREAT, 0660);
31-#else
32- fd = open(video_ch[i].save_file_name, O_RDWR | O_CREAT);
33-#endif
34 if (fd < 0) {
35 v4l2_err("Channel[%d] unable to create recording file\n", i);
36 while (i)
37--
382.17.1
39