summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-05-03 17:26:38 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-11-21 14:41:55 +0100
commita4acba0582549548c4137ba5e5e1c09df1c9aefb (patch)
treea4019242b48396c377fed1974a3fdde59642f920 /config
parent93229540713e6205293e67d4147b0d8e0c180f7b (diff)
Fix recipes for the mingw-w64 toolchain
Add confoguration files for compiling the mingw-w64 toolchain too.
Diffstat (limited to 'config')
-rw-r--r--config/mingw-w32-lin.cbc7
-rw-r--r--config/mingw-w32-win.cbc11
-rw-r--r--config/mingw-w64-lin.cbc7
-rw-r--r--config/mingw-w64-win.cbc11
4 files changed, 36 insertions, 0 deletions
diff --git a/config/mingw-w32-lin.cbc b/config/mingw-w32-lin.cbc
new file mode 100644
index 0000000..aa4e1cd
--- /dev/null
+++ b/config/mingw-w32-lin.cbc
@@ -0,0 +1,7 @@
+import os
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_arch=Architecture.X86
+cache_file='mingw-w32-lin'
+prefix=os.path.expanduser('~/mingw/linux/w32')
+sources=os.path.expanduser('~/cerbero/sources/mingw-w32-lin')
diff --git a/config/mingw-w32-win.cbc b/config/mingw-w32-win.cbc
new file mode 100644
index 0000000..b88fb24
--- /dev/null
+++ b/config/mingw-w32-win.cbc
@@ -0,0 +1,11 @@
+import os
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform=Platform.WINDOWS
+target_distro=Distro.WINDOWS
+target_distro_version=DistroVersion.WINDOWS_7
+target_arch=Architecture.X86
+cache_file='mingw-w32-win'
+prefix=os.path.expanduser('~/mingw/windows/w32')
+sources=os.path.expanduser('~/cerbero/sources/mingw-w32-win')
+toolchain_prefix=os.path.expanduser('~/mingw/linux/w32/')
diff --git a/config/mingw-w64-lin.cbc b/config/mingw-w64-lin.cbc
new file mode 100644
index 0000000..c05b3e9
--- /dev/null
+++ b/config/mingw-w64-lin.cbc
@@ -0,0 +1,7 @@
+import os
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_arch=Architecture.X86_64
+cache_file='mingw-w64-lin'
+prefix=os.path.expanduser('~/mingw/linux/w64')
+sources=os.path.expanduser('~/cerbero/sources/mingw-w64-lin')
diff --git a/config/mingw-w64-win.cbc b/config/mingw-w64-win.cbc
new file mode 100644
index 0000000..1735605
--- /dev/null
+++ b/config/mingw-w64-win.cbc
@@ -0,0 +1,11 @@
+import os
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform=Platform.WINDOWS
+target_distro=Distro.WINDOWS
+target_distro_version=DistroVersion.WINDOWS_7
+target_arch=Architecture.X86_64
+cache_file='mingw-w64-win'
+prefix=os.path.expanduser('~/mingw/windows/w64')
+sources=os.path.expanduser('~/cerbero/sources/mingw-w64-win')
+toolchain_prefix=os.path.expanduser('~/mingw/linux/w64/')