summaryrefslogtreecommitdiff
path: root/Tizen:IVI
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2014-06-08 15:04:41 +0300
committerEd Bartosh <eduard.bartosh@intel.com>2014-06-15 22:47:17 +0300
commitc8ff02dfe88a8296337ba47ed716d7c36571f51f (patch)
treef0e8e4ee5a5b259dde7c9a301096bb34c7eab54a /Tizen:IVI
parent374abbf95d8b705580d05ff11d9e2a12de3161b3 (diff)
downloadobs-c8ff02dfe88a8296337ba47ed716d7c36571f51f.tar.gz
obs-c8ff02dfe88a8296337ba47ed716d7c36571f51f.tar.bz2
obs-c8ff02dfe88a8296337ba47ed716d7c36571f51f.zip
Tizen:IVI: Add arm target
Change-Id: I5ecd77c1ff1614f3793c9ba117c764566712aa61 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Diffstat (limited to 'Tizen:IVI')
-rw-r--r--Tizen:IVI/_config20
-rw-r--r--Tizen:IVI/_meta7
-rw-r--r--Tizen:IVI/cross-arm-binutils/_link9
-rw-r--r--Tizen:IVI/mic-bootstrap_aggregate/_aggregate6
-rw-r--r--Tizen:IVI/mic-bootstrap_aggregate/_meta12
-rw-r--r--Tizen:IVI/qemu_aggregate/_aggregate12
-rw-r--r--Tizen:IVI/qemu_aggregate/_meta11
7 files changed, 64 insertions, 13 deletions
diff --git a/Tizen:IVI/_config b/Tizen:IVI/_config
index 0e7b60e..e46b2b7 100644
--- a/Tizen:IVI/_config
+++ b/Tizen:IVI/_config
@@ -21,7 +21,6 @@ Prefer: libtapi-devel
#| 1 | 1 | wayland but X compatibility
#| 0 | 0 | no X and no wayland
-%if "%_repository" == "atom" || "%_repository" == "emulator" || "%_repository" == "standard"
# mesa
Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
@@ -29,7 +28,6 @@ Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
Macros:
%_with_wayland 1
:Macros
-%endif
############################# emulator repository ############################
@@ -71,8 +69,8 @@ Target: armv7l-tizen-linux
%ifarch %arm armv7l
Hostarch: x86_64
# cross build support for the build hosts
-Preinstall: qemu-linux-user
-Keep: qemu-linux-user
+Preinstall: qemu-linux-user-cross-arm
+Keep: qemu-linux-user-cross-arm
%endif
%ifarch armv7hl
@@ -81,8 +79,8 @@ Runscripts: qemu-accel-armv7hl
Preinstall: util-linux libmount libblkid libuuid
%endif
%ifarch armv7l
-Preinstall: qemu-accel-armv7l
-Runscripts: qemu-accel-armv7l
+Preinstall: qemu-accel-armv7l-cross-arm
+Runscripts: qemu-accel-armv7l-cross-arm
Preinstall: util-linux libmount libblkid libuuid
%endif
%ifarch armv7el
@@ -91,13 +89,9 @@ Runscripts: qemu-accel-armv7el
Preinstall: util-linux libmount libblkid libuuid
%endif
-ExportFilter: ^qemu-linux-user.*\.x86_64\.rpm$ . armv7el armv7l armv7hl
-
-ExportFilter: ^qemu-accel-armv7hl.*\.x86_64\.rpm$ . armv7hl
-ExportFilter: ^qemu-accel-armv7l.*\.x86_64\.rpm$ . armv7l
-ExportFilter: ^qemu-accel-armv7el.*\.x86_64\.rpm$ . armv7el
-ExportFilter: \.x86_64\.rpm$ x86_64
-
+ExportFilter: ^qemu-linux-user-.*\.i686\.rpm$ . armv7l
+ExportFilter: ^qemu-accel-armv7l.*\.i686\.rpm$ . armv7l
+ExportFilter: \.armv7l\.rpm$ armv7l
Preinstall: setup filesystem
RunScripts: setup
diff --git a/Tizen:IVI/_meta b/Tizen:IVI/_meta
index 620789f..2186dfa 100644
--- a/Tizen:IVI/_meta
+++ b/Tizen:IVI/_meta
@@ -5,6 +5,9 @@
<person userid="bartosh" role="maintainer"/>
<person userid="bartosh" role="bugowner"/>
<person userid="sdx" role="maintainer"/>
+ <build>
+ <disable arch="i586" repository="arm"/>
+ </build>
<debuginfo>
<enable/>
</debuginfo>
@@ -14,4 +17,8 @@
<repository name="atom">
<arch>i586</arch>
</repository>
+ <repository name="arm">
+ <arch>armv7l</arch>
+ <arch>i586</arch>
+ </repository>
</project>
diff --git a/Tizen:IVI/cross-arm-binutils/_link b/Tizen:IVI/cross-arm-binutils/_link
new file mode 100644
index 0000000..64cc838
--- /dev/null
+++ b/Tizen:IVI/cross-arm-binutils/_link
@@ -0,0 +1,9 @@
+<link package="binutils" cicount="copy">
+<patches>
+ <!-- <branch /> for a full copy, default case -->
+ <!-- <apply name="patch" /> apply a patch on the source directory -->
+ <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
+ <!-- <add name="file.patch" /> add a patch to be applied after %setup (spec file only) -->
+ <!-- <delete name="filename" /> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:IVI/mic-bootstrap_aggregate/_aggregate b/Tizen:IVI/mic-bootstrap_aggregate/_aggregate
new file mode 100644
index 0000000..5172d57
--- /dev/null
+++ b/Tizen:IVI/mic-bootstrap_aggregate/_aggregate
@@ -0,0 +1,6 @@
+<aggregatelist>
+ <aggregate project="Tizen:IVI">
+ <package>mic-bootstrap</package>
+ <repository source="atom" target="arm"/>
+ </aggregate>
+</aggregatelist>
diff --git a/Tizen:IVI/mic-bootstrap_aggregate/_meta b/Tizen:IVI/mic-bootstrap_aggregate/_meta
new file mode 100644
index 0000000..83b8399
--- /dev/null
+++ b/Tizen:IVI/mic-bootstrap_aggregate/_meta
@@ -0,0 +1,12 @@
+<package name="mic-bootstrap_aggregate" project="Tizen:IVI">
+ <title/>
+ <description/>
+ <build>
+ <disable arch="armv7l" repository="arm"/>
+ <disable arch="i586" repository="atom"/>
+ <disable arch="i586" repository="emulator"/>
+ <disable repository="emulator"/>
+ <disable repository="atom"/>
+ <enable arch="i586" repository="arm"/>
+ </build>
+</package>
diff --git a/Tizen:IVI/qemu_aggregate/_aggregate b/Tizen:IVI/qemu_aggregate/_aggregate
new file mode 100644
index 0000000..048ef9c
--- /dev/null
+++ b/Tizen:IVI/qemu_aggregate/_aggregate
@@ -0,0 +1,12 @@
+<aggregatelist>
+ <aggregate project="Tizen:IVI">
+ <package>qemu</package>
+ <binary>qemu-linux-user-cross-arm</binary>
+ <repository source="atom"/>
+ </aggregate>
+ <aggregate project="Tizen:IVI" >
+ <package>qemu-accel-armv7l</package>
+ <binary>qemu-accel-armv7l-cross-arm</binary>
+ <repository source="atom"/>
+ </aggregate>
+</aggregatelist> \ No newline at end of file
diff --git a/Tizen:IVI/qemu_aggregate/_meta b/Tizen:IVI/qemu_aggregate/_meta
new file mode 100644
index 0000000..8ae5cc4
--- /dev/null
+++ b/Tizen:IVI/qemu_aggregate/_meta
@@ -0,0 +1,11 @@
+<package name="qemu_aggregate" project="Tizen:IVI">
+ <title/>
+ <description/>
+ <build>
+ <disable arch="i586" repository="emulator"/>
+ <disable repository="emulator"/>
+ <disable repository="atom"/>
+ <disable arch="armv7l" repository="arm"/>
+ <enable arch="i586" repository="arm"/>
+ </build>
+</package>