build: make win64 binaries for 64bit Windows
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 3 Dec 2015 06:44:56 +0000 (15:44 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 4 Dec 2015 04:30:38 +0000 (13:30 +0900)
Change-Id: I92a5970ccbe44f5ff328400c024377d1e8a4315d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
package/build.linux
package/pkginfo.manifest

index 52704c4..375e983 100755 (executable)
@@ -13,8 +13,14 @@ prepare()
                # for Windows target (cross compiling)
 
                # we should use cross compiler from mingw-x package
-               export PATH=/opt/mingw32/bin:$PATH
-               export CROSS_PREFIX=i686-w64-mingw32
+               if [ "${TARGET_OS}" = "windows-32" ]
+               then
+                       export PATH=/opt/mingw32/bin:$PATH
+                       export CROSS_PREFIX=i686-w64-mingw32
+               else
+                       export PATH=/opt/mingw64/bin:$PATH
+                       export CROSS_PREFIX=x86_64-w64-mingw32
+               fi
 
                # correct pc's prefix since windows install script is not run
                # on linux
index 70fb301..54c9afd 100644 (file)
@@ -39,13 +39,20 @@ C-Prerequisites: libsdl1.2debian, libglib2.0-0, acl, zlib1g, libpixman-1-0, brid
 Description: Tizen x86 Emulator
 
 Package: 3.0-emulator-qemu-x86
-OS: windows-32, windows-64
+OS: windows-32
 Build-host-os: ubuntu-64
 Build-dependency: 3.0-emulator-lib-dev [ windows-32 ], 3.0-libav-dev [ windows-32 ]
 Install-dependency: 3.0-emulator-kernel-x86, 3.0-libav
 Description: Tizen x86 Emulator
 
 Package: 3.0-emulator-qemu-x86
+OS: windows-64
+Build-host-os: ubuntu-64
+Build-dependency: 3.0-emulator-lib-dev [ windows-64 ], 3.0-libav-dev [ windows-64 ]
+Install-dependency: 3.0-emulator-kernel-x86, 3.0-libav
+Description: Tizen x86 Emulator
+
+Package: 3.0-emulator-qemu-x86
 OS: macos-64
 Build-host-os: macos-64
 Build-dependency: 3.0-emulator-lib-dev [ macos-64 ], 3.0-libav-dev [ macos-64 ]