summaryrefslogtreecommitdiffstats
path: root/recipes-ti/dmai/ti-dmai
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ti/dmai/ti-dmai')
-rw-r--r--recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff48
-rw-r--r--recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff36
2 files changed, 84 insertions, 0 deletions
diff --git a/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff b/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff
new file mode 100644
index 00000000..54963542
--- /dev/null
+++ b/recipes-ti/dmai/ti-dmai/omap3530-r642-remove-include-videodev.diff
@@ -0,0 +1,48 @@
1Index: dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h
2===================================================================
3--- dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h (revisione 642)
4+++ dmai/packages/ti/sdo/dmai/linux/omap3530/priv/_VideoBuf.h (copia locale)
5@@ -34,7 +34,6 @@
6 #ifndef ti_sdo_dai_linux_priv__VideoBuf_h_
7 #define ti_sdo_dai_linux_priv__VideoBuf_h_
8
9-#include <linux/videodev.h>
10 #include <linux/videodev2.h>
11
12 #include <ti/sdo/dmai/BufferGfx.h>
13Index: dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c
14===================================================================
15--- dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c (revisione 642)
16+++ dmai/packages/ti/sdo/dmai/linux/omap3530/_VideoBuf.c (copia locale)
17@@ -38,7 +38,6 @@
18 #include <sys/ioctl.h>
19 #include <sys/mman.h>
20 #include <errno.h>
21-#include <linux/videodev.h>
22 #include <linux/videodev2.h>
23
24 #include <xdc/std.h>
25Index: dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c
26===================================================================
27--- dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c (revisione 642)
28+++ dmai/packages/ti/sdo/dmai/linux/omap3530/Capture.c (copia locale)
29@@ -40,7 +40,6 @@
30 #include <sys/mman.h>
31 #include <sys/ioctl.h>
32 #include <asm/types.h>
33-#include <linux/videodev.h>
34 #include <linux/videodev2.h>
35
36 #include <xdc/std.h>
37Index: dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c
38===================================================================
39--- dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c (revisione 642)
40+++ dmai/packages/ti/sdo/dmai/linux/omap3530/Display_v4l2.c (copia locale)
41@@ -38,7 +38,6 @@
42 #include <sys/ioctl.h>
43 #include <sys/mman.h>
44 #include <errno.h>
45-#include <linux/videodev.h>
46 #include <linux/videodev2.h>
47
48 #include <xdc/std.h>
diff --git a/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff b/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff
new file mode 100644
index 00000000..06ffbec4
--- /dev/null
+++ b/recipes-ti/dmai/ti-dmai/r642-fix-config-bld.diff
@@ -0,0 +1,36 @@
1Index: dmai/packages/config.bld
2===================================================================
3--- dmai/packages/config.bld (revisione 642)
4+++ dmai/packages/config.bld (copia locale)
5@@ -44,29 +44,9 @@
6 C6X.rootDir = codegen;
7 C6X.platform = xdcplat;
8
9-/* User passes in $(CROSS_COMPILE) where $(CROSS_COMPILE)gcc is their compiler
10- Then the TOOLDIR and LONGNAME are derived based on a regex of CROSS_COMPILE
11-*/
12-var crosscompile = "" + java.lang.System.getenv("CROSS_COMPILE");
13+var tooldir = "" + java.lang.System.getenv("CSTOOL_DIR");
14+var longName = "" + java.lang.System.getenv("MVTOOL_PREFIX") + "gcc";
15
16-var tooldir = "";
17-var longName = "";
18-
19-/* Search CROSS_COMPILE for bin/ If only 1 bin/ is found, set the tooldir to
20- the path prior to bin/ and the prefix to "bin/" + remainder of path,
21- else leave the tooldir as "" and set the LONGNAME to the full CROSS_COMPILE
22- path
23-*/
24-var regex = new RegExp("bin/");
25-var find = crosscompile.split( regex );
26-
27-if (find[0]!=crosscompile && find.length==2) {
28- tooldir = find[0];
29- longName = "bin/" + find[1] + "gcc";
30-} else {
31- longName = crosscompile + "gcc";
32-}
33-
34 /* location of the GCC Arm9 tools */
35 var GCArmv5T = xdc.useModule('gnu.targets.arm.GCArmv5T');
36 GCArmv5T.LONGNAME = longName;