Tizen:IVI: Enable x86_64 building 59/71059/3
authorJoonsub Lee <joon-sub.lee@samsung.com>
Tue, 24 May 2016 02:28:41 +0000 (11:28 +0900)
committerJoonsub Lee <joon-sub.lee@samsung.com>
Tue, 24 May 2016 02:56:40 +0000 (11:56 +0900)
Change-Id: I850177ab4e0c9b07272f26b8c301e0d6c12acbe8
Signed-off-by: Joonsub Lee <joon-sub.lee@samsung.com>
Tizen:IVI/_config
Tizen:IVI/_meta

index 376a7d8..b2bde91 100644 (file)
@@ -86,18 +86,13 @@ Macros:
 %_with_mesa 1
 :Macros
 
-%ifarch %arm armv7l aarch64
 Substitute: mesa-devel pkgconfig(glesv2)
-#FIXME Substitute: pkgconfig(egl)
-%endif
+Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
+Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
 
 ########## coregl ##########
-%ifarch %arm aarch64
+
 Prefer: coregl coregl-devel
-Prefer: libwayland-egl libwayland-egl-devel
-Substitute: mesa-libGLESv2 coregl
-Substitute: mesa-libEGL coregl
-%endif
 
 ###################### Activate KDBUS ######################
 # This configuration flag enables the support of KDBUS
@@ -114,10 +109,11 @@ Substitute: mesa-libEGL coregl
 
 ############################# wayland repositories #############################
 
-%if "%_repository" == "arm"
+%if "%_repository" == "arm" || "%_repository" == "x86_64" 
 
-Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
-Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
+Prefer: libwayland-egl libwayland-egl-devel
+Substitute: mesa-libGLESv2 coregl
+Substitute: mesa-libEGL coregl
 
 %define _with_wayland 1
 %define _with_rdp 1
@@ -133,13 +129,7 @@ Macros:
 
 %if "%_repository" == "emulator"
 
-Substitute: mesa-devel pkgconfig(glesv2)
-
-Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
-Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
-
 Prefer: libgbm
-Prefer: coregl coregl-devel
 Prefer: emulator-yagl emulator-yagl-devel
 Prefer: libwayland-egl libwayland-egl-devel
 
@@ -316,7 +306,5 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-Optflags: armv7l -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian  -mfpu=neon -mfloat-abi=softfp -Wp,-D__SOFTFP__
-Optflags: aarch64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  -Wformat -Wformat-security -fmessage-length=0 -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53
-Optflags: i686 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer
-Optflags: x86_64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2  -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer  -fipa-cp-clone
+# derived from Tizen:Base
+#######################################
index ba58ac3..64f4c07 100644 (file)
   <build>
     <disable arch="i586" repository="arm"/>
   </build>
+  <publish>
+    <disable arch="x86_64" repository="x86_64"/>
+  </publish>
   <debuginfo>
     <enable/>
   </debuginfo>
+  <repository name="x86_64">
+    <path project="Tizen:Base" repository="x86_64"/>
+    <arch>x86_64</arch>
+  </repository>
   <repository name="emulator">
     <path project="Tizen:Base" repository="emulator32"/>
     <arch>i586</arch>