--- /dev/null
+Shihyun Kim <shihyun.kim@samsung.com>
+Jaemin Kim <jm.jaemin.kim@samsung.com>
+Donghyuk Yang <donghyuk.yang@samsung.com>
+DongHee Yang <donghee.yang@samsung.com>
+HyunGoo Kang <hyungoo1.kang@samsung.com>
--- /dev/null
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
--- /dev/null
+Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Apache License, Version 2.
+Please, see the LICENSE.APLv2 file for Apache License terms and conditions.
--- /dev/null
+#!/bin/bash
+
+clean()
+{
+ rm -rf $SRCDIR/*.zip
+ rm -rf $SRCDIR/*.tar.gz
+}
+
+
+build()
+{
+ echo "done"
+}
+
+install()
+{
+ if [ ${TARGET_OS_CATEGORY} = "linux" ] ; then
+ # llvm-3.1.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/linux/llvm31.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+
+ # gcc-4.5.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/linux/gcc45.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ fi
+
+ if [ ${TARGET_OS_CATEGORY} = "windows" ] ; then
+ # llvm-3.1.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/windows/llvm31.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+
+ # gcc-4.5.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/windows/gcc45.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ fi
+
+ if [ ${TARGET_OS_CATEGORY} = "macos" ] ; then
+ # llvm-3.1.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/darwin/llvm31.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-llvm-3.1.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+
+ # gcc-4.5.cpp.app
+ mkdir -p $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ cp $SRCDIR/xml/darwin/gcc45.*.cpp.*.xml $SRCDIR/package/sbi-toolchain-gcc-4.5.cpp.app.package.${TARGET_OS}/data/tools/smart-build-interface/plugins
+ fi
+}
--- /dev/null
+* 2.1.25
+- NATXML: Remove llvm (experimental) xmls
+- NATXML: Do not replace to base architecture when packaging a project
+== donghyuk yang <donghyuk.yang@samsung.com> 2014-02-12
+* 2.1.24
+- NATXML: Fixed passing argument without double quotation
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-11-08
+* 2.1.23
+- PLTXML: Modified debug action script
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-11-02
+* 2.1.22
+- Modified command for scanning gcc specs
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-10-29
+* 2.1.21
+- Added ARTIFACT_NAME variable to packaging action
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-10-25
+* 2.1.20
+- Removed install dependency for "sbi-toolchain-scripts"
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-10-01
+* 2.1.19
+- Modified GBS version comparison script
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-08-16
+* 2.1.18
+- Add debug option to set debug-file-directory(ubuntu)
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-07-26
+* 2.1.17
+- Added "binutils" property to toolchain
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-07-23
+* 2.1.16
+- Fixed a bug about LLVM failure on windows-64
+== donghee yang <donghee.yang@samsung.com> 2013-07-17
+* 2.1.15
+- Fixed a bug about LLVM failure on windows-64
+== donghee yang <donghee.yang@samsung.com> 2013-07-16
+* 2.1.14
+- Fixed to check bc_build_info.xml when LLVM ir linking
+== donghee yang <donghee.yang@samsung.com> 2013-06-20
+* 2.1.12
+- Applied upgrading GBS verion 0.16
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-06-14
+* 2.1.11
+- Copy .xml file from buildroot directory to project directory after gbs building
+- Change /bin/sh -> /bin/bash
+- Change package requirement check method
+- Reset rpm db before gbs building
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-06-12
+* 2.1.1
+- Added cliappid variable for supporting rpath option on CLI
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-04-17
+* 2.1.0
+- Release tizen 2.1
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-03-18
+* 1.3.5
+- Modified supported toolchain type from tizen.cpp to tizen.native
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-03-15
+* 1.3.4
+- Added TARGET_CONFPATH make option for building unittest project on CLI
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-03-08
+* 1.3.3
+- Added -cliunitprojpath option for building unittest project on cli
+- Added architecture env for building on CLI
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-03-07
+* 1.3.2
+- Removed unused make options
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-03-07
+* 1.3.1
+- Fixed a bug that the arch of generated TPK is wrong
+== donghee yang <donghee.yang@samsung.com> 2013-02-28
+* 1.3.0
+- Changed GDB version to 7.5
+== donghee yang <donghee.yang@samsung.com> 2013-02-27
+* 1.2.1
+- Added "clean" action to platform toolchain xmls
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-02-04
+* 1.2.0
+- Added LLVM 3.1 portable toolchain
+== donghee yang <donghee.yang@samsung.com> 2013-01-29
+* 1.1.15
+- Supported ROOTSTRAP variables to shared/static library
+== donghyuk.yang <donghyuk.yang@samsung.com> 2013-01-11
+* 1.1.14
+- Supported PROJPATH and SDKPATH environment for CLI
+== donghyuk.yang <donghyuk.yang@samsung.com> 2013-01-10
+* 1.1.13
+- Supported IDE CLI on windows
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-01-09
+* 1.1.12
+- check make exist (darwin)
+== hyoun jiil <jiil.hyoun@samsung.com> 2013-01-09
+* 1.1.11
+- Check GBS version before building (>= 0.12)
+== donghyuk yang <donghyuk.yang@samsung.com> 2013-01-04
+* 1.1.10
+- Fixed a bug that static library build error when using llvm
+== donghee yang <donghee.yang@samsung.com> 2012-12-20
+* 1.1.9
+- Added "Archiver" to the toolchain for static library
+== donghee yang <donghee.yang@samsung.com> 2012-12-20
+* 1.1.8
+- Sync llvm31 and llvm31p
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-12-17
+* 1.1.7
+- Added options for compiler, rootstrap misc to library xmls
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-12-16
+* 1.1.6
+- Modified build action by supported IDE CLI
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-12-16
+* 1.1.5
+- Use mingw32-make instead of msys-make
+== donghee yang <donghee.yang@samsung.com> 2012-12-14
+* 1.1.4
+- Use msys-make instead of mingw32-make
+== donghee yang <donghee.yang@samsung.com> 2012-12-13
+* 1.1.2
+- Used "cmd.exe" instead of "sh.exe" in mingw32-make
+- Applied "-r" option in make on windows
+== donghee yang <donghee.yang@samsung.com> 2012-12-13
+* 1.1.1
+- Fixed "make" to work even if "-j" option is used on windows
+== donghee yang <donghee.yang@samsung.com> 2012-12-13
+* 1.1.0
+- Changed to use BAT script instead of MSYS shell
+== donghee yang <donghee.yang@samsung.com> 2012-12-12
+* 1.0.19
+- Moved tpk_packager to smart-build-interface
+== donghee yang <donghee.yang@samsung.com> 2012-12-06
+* 1.0.18
+- Fixed tpk_packager error on win7
+== donghee yang <donghee.yang@samsung.com> 2012-12-03
+* 1.0.17
+- Fixed tpk_packager error on win7(Failed)
+== donghee yang <donghee.yang@samsung.com> 2012-11-30
+* 1.0.16
+- Added --include-all gbs option for packaging
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-11-29
+* 1.0.15
+- Removed empty lines on tpk_packager for unknown error on win7
+== donghee yang <donghee.yang@samsung.com> 2012-11-28
+* 1.0.14
+- [develop] Removed http proxy variable on packaging action
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-11-22
+* 1.0.13
+- [develop] Added --skip-conf-repos option to gbs build command
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-11-21
+* 1.0.12
+- [develop] Modified packaging/command sbi action
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-11-21
+* 1.0.11
+- [develop] Added gdb-server package as extra package for gbs platfrom building
+== donghyuk.yang <donghyuk.yang@samsung.com> 2012-11-21
+* 1.0.10
+- Supported share directory when tpk packaging
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-26
+* 1.0.9
+- Applied new Platform SDK rootstrap
+- Supported ubuntu-64 in platform SDK
+== donghee yang <donghee.yang@samsung.com> 2012-11-20
+* 1.0.8
+- set llvm default
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-14
+* 1.0.7
+- llvm environment bug fix version
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-13
+* 1.0.6
+- add llvm static/shared Lib plugins
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-13
+* 1.0.5
+- remove llvm portable plugins
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-13
+* 1.0.4
+- added llvm portable toolchain
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-06
+* 1.0.3
+- add macos llvm
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-06
+* 1.0.2
+- macos support in release working server
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-11-05
+* 1.0.1
+- apply 1.0.0 to i386
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-10-30
+* 1.0.0
+- Make binary file to be stripped when release mode
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-10-30
+* 0.99.39
+- tpk packager over write bug fix
+== Hyoun Ji Il <jiil.hyoun@samsung.com> 2012-10-24
+* 0.99.38
+- Integrated sign module
+== jihoon.song <jihoon80.song@samsung.com> 2011-10-24
+* 0.99.37
+- Modified /etc/rpm/platform file
+== donghyuk.yang <donghyuk.yang@samsung.com> 2011-10-23
--- /dev/null
+Source : sbi-plugins
+Version : 2.1.25
+Maintainer : Shihyun Kim <shihyun.kim@samsung.com>, Jaemin Kim <jm.jaemin.kim@samsung.com>, Donghyuk Yang <donghyuk.yang@samsung.com>, Donghee Yang<donghee.yang@samsung.com>
+
+Package : sbi-toolchain-gcc-4.5.cpp.app
+OS : ubuntu-32, ubuntu-64
+Build-host-os : ubuntu-32
+Install-dependency : cross-arm-gcc-4.5, cross-i386-gcc-4.5, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi gcc toolchain plugin for cpp project
+
+Package : sbi-toolchain-gcc-4.5.cpp.app
+OS : macos-64
+Build-host-os : ubuntu-32
+Install-dependency : cross-arm-gcc-4.5, cross-i386-gcc-4.5, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi gcc toolchain plugin for cpp project
+
+Package : sbi-toolchain-gcc-4.5.cpp.app
+OS : windows-32, windows-64
+Build-host-os : ubuntu-32
+Install-dependency : cross-arm-gcc-4.5, cross-i386-gcc-4.5, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi gcc toolchain plugin for cpp project
+
+Package : sbi-toolchain-llvm-3.1.cpp.app
+OS : ubuntu-32, ubuntu-64
+Build-host-os : ubuntu-32
+Install-dependency : llvm-3.1, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi llvm toolchain plugin for cpp project
+
+Package : sbi-toolchain-llvm-3.1.cpp.app
+OS : windows-32, windows-64
+Build-host-os : ubuntu-32
+Install-dependency : llvm-3.1, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi llvm toolchain plugin for cpp project
+
+Package : sbi-toolchain-llvm-3.1.cpp.app
+OS : macos-64
+Build-host-os : ubuntu-32
+Install-dependency : llvm-3.1, cross-arm-gdb-7.5, cross-i386-gdb-7.5
+Description : sbi llvm toolchain plugin for cpp project
--- /dev/null
+#!/bin/bash
+
+rm -rf ${INSTALLED_PATH}/tools/smart-build-interface/plugins/*_gcc45.*.cpp.*.xml
--- /dev/null
+#!/bin/bash
+
+rm -rf ${INSTALLED_PATH}/tools/smart-build-interface/plugins/*_gcc45.*.cpp.*.xml
--- /dev/null
+:: delims is a TAB followed by space
+
+SET installed_path=%INSTALLED_PATH%
+DEL /Q %installed_path%\tools\smart-build-interface\plugins\*_gcc45.*.cpp.*.xml
--- /dev/null
+#!/bin/bash
+
+rm -rf ${INSTALLED_PATH}/tools/smart-build-interface/plugins/*_llvm31.*.cpp.*.xml
--- /dev/null
+#!/bin/bash
+
+rm -rf ${INSTALLED_PATH}/tools/smart-build-interface/plugins/*_llvm31.*.cpp.*.xml
--- /dev/null
+:: delims is a TAB followed by space
+
+SET installed_path=%INSTALLED_PATH%
+DEL /Q %installed_path%\tools\smart-build-interface\plugins\*_llvm31.*.cpp.*.xml
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.app" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+edje_cc_path=`dirname ${3}`
+edje_lib_path="${edje_cc_path}/../lib"
+sysroot=${4}
+tc_misc=${5}
+tl_misc=${6}
+rc_misc=${7}
+rl_misc=${8}
+option=${9}
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_appid=${12}
+cli_unittest_target_path=${13}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${edje_cc_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${ml_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="${20}"
+LLVM_IR="NO"
+
+# decide strip option
+if [ "`basename ${BUILD_DIR}`" = "Release" ]; then
+ STRIP="YES"
+else
+ STRIP="NO"
+fi
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.sharedLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.staticLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.app" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+edje_cc_path=`dirname ${3}`
+edje_lib_path="${edje_cc_path}/../lib"
+sysroot=${4}
+tc_misc=${5}
+tl_misc=${6}
+rc_misc=${7}
+rl_misc=${8}
+option=${9}
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_appid=${12}
+cli_unittest_target_path=${13}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${edje_cc_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${ml_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="#"
+STRIP="NO"
+LLVM_IR="NO"
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.sharedLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.staticLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.app" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU assembler (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+edje_cc_path=`dirname ${3}`
+gcc_bin_path=`dirname ${4}`
+edje_lib_path="${edje_cc_path}/../lib"
+compiler_name=`basename ${2}`
+sysroot=${5}
+tc_misc=${6}
+tl_misc=${7}
+rc_misc=${8}
+rl_misc=${9}
+option=${10}
+cli_projpath=${11}
+cli_sdkpath=${12}
+cli_appid=${13}
+cli_unittest_target_path=${14}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${edje_cc_path}:${gcc_bin_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="${20}"
+LLVM_IR="NO"
+
+# decide strip option
+if [ "`basename ${BUILD_DIR}`" = "Release" ]; then
+ STRIP="YES"
+else
+ STRIP="NO"
+fi
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.sharedLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU assembler (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.staticLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU assembler (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:archiver:path"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+ar_bin_path=`dirname ${9}`
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_unittest_target_path=${12}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${ar_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.app" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+edje_cc_path=`dirname ${3}`
+gcc_bin_path=`dirname ${4}`
+edje_lib_path="${edje_cc_path}/../lib"
+compiler_name=`basename ${2}`
+sysroot=${5}
+tc_misc=${6}
+tl_misc=${7}
+rc_misc=${8}
+rl_misc=${9}
+option=${10}
+cli_projpath=${11}
+cli_sdkpath=${12}
+cli_appid=${13}
+cli_unittest_target_path=${14}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${edje_cc_path}:${gcc_bin_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="#"
+STRIP="NO"
+LLVM_IR="NO"
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.sharedLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.staticLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <script>
+echo "Checking prerequisite..."
+if [ "`ls ${1}`" ]
+then
+ echo "Checking make... ok"
+else
+ echo "Checking make... is not installed"
+ echo "For using \"make\", you have to install \"Command Line Tools\""
+ exit 1
+fi
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:archiver:path"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+ar_bin_path=`dirname ${9}`
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_unittest_target_path=${12}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${ar_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.app" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+edje_cc_path=`dirname ${3}`
+edje_lib_path="${edje_cc_path}/../lib"
+sysroot=${4}
+tc_misc=${5}
+tl_misc=${6}
+rc_misc=${7}
+rl_misc=${8}
+option=${9}
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_appid=${12}
+cli_unittest_target_path=${13}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${edje_cc_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${ml_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="${20}"
+LLVM_IR="NO"
+
+# decide strip option
+if [ "`basename ${BUILD_DIR}`" = "Release" ]; then
+ STRIP="YES"
+else
+ STRIP="NO"
+fi
+
+REQUIRE_PKG="zip"
+
+echo "Checking prerequisite..."
+for pkg in ${REQUIRE_PKG}
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <input type="variable" value="debug-file-directory"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}" --init-eval-command="set debug-file-directory ${4}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.sharedLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.staticLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.app" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+edje_cc_path=`dirname ${3}`
+edje_lib_path="${edje_cc_path}/../lib"
+sysroot=${4}
+tc_misc=${5}
+tl_misc=${6}
+rc_misc=${7}
+rl_misc=${8}
+option=${9}
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_appid=${12}
+cli_unittest_target_path=${13}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${edje_cc_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${ml_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="#"
+STRIP="NO"
+LLVM_IR="NO"
+
+REQUIRE_PKG="zip"
+
+echo "Checking prerequisite..."
+for pkg in ${REQUIRE_PKG}
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <input type="variable" value="debug-file-directory"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}" --init-eval-command="set debug-file-directory ${4}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.sharedLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.staticLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+gcc_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${gcc_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.app" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+edje_cc_path=`dirname ${3}`
+gcc_bin_path=`dirname ${4}`
+edje_lib_path="${edje_cc_path}/../lib"
+compiler_name=`basename ${2}`
+sysroot=${5}
+tc_misc=${6}
+tl_misc=${7}
+rc_misc=${8}
+rl_misc=${9}
+option=${10}
+cli_projpath=${11}
+cli_sdkpath=${12}
+cli_appid=${13}
+cli_unittest_target_path=${14}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${edje_cc_path}:${gcc_bin_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="${20}"
+LLVM_IR="NO"
+
+# decide strip option
+if [ "`basename ${BUILD_DIR}`" = "Release" ]; then
+ STRIP="YES"
+else
+ STRIP="NO"
+fi
+
+REQUIRE_PKG="zip"
+
+echo "Checking prerequisite..."
+for pkg in ${REQUIRE_PKG}
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <input type="variable" value="debug-file-directory"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}" --init-eval-command="set debug-file-directory ${4}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.sharedLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.staticLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:archiver:path"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+ar_bin_path=`dirname ${9}`
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_unittest_target_path=${12}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${ar_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=arm \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.app" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:edje_cc:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+edje_cc_path=`dirname ${3}`
+gcc_bin_path=`dirname ${4}`
+edje_lib_path="${edje_cc_path}/../lib"
+compiler_name=`basename ${2}`
+sysroot=${5}
+tc_misc=${6}
+tl_misc=${7}
+rc_misc=${8}
+rl_misc=${9}
+option=${10}
+cli_projpath=${11}
+cli_sdkpath=${12}
+cli_appid=${13}
+cli_unittest_target_path=${14}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${edje_cc_path}:${gcc_bin_path}:${PATH} \
+LD_LIBRARY_PATH=${edje_lib_path}:${LD_LIBRARY_PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+APPID=${cli_appid} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="/bin/bash">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+BUILD_DIR="${1}"
+ARCH="${2}"
+PKG_NAME="${4}"
+PRJ_NAME="${5}"
+ARTIFACT_NAME="${6}"
+PKG_VER="${7}"
+TPK_PACKAGER="${8}"
+NATIVE_SIGNER="${9}"
+SIGN_CERT_DIR="${10}"
+SIGN_AUTHOR_KEY="${11}"
+SIGN_AUTHOR_PWD="${12}"
+SIGN_DIST1_KEY="${13}"
+SIGN_DIST1_PWD="${14}"
+SIGN_DIST1_CA="${15}"
+SIGN_DIST2_KEY="${16}"
+SIGN_DIST2_PWD="${17}"
+SIGN_DIST2_CA="${18}"
+SIGN_DIST2_ROOT="${19}"
+STRIPPER="#"
+STRIP="NO"
+LLVM_IR="NO"
+
+REQUIRE_PKG="zip"
+
+echo "Checking prerequisite..."
+for pkg in ${REQUIRE_PKG}
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+
+${TPK_PACKAGER} "${BUILD_DIR}" "${ARCH}" "${PKG_NAME}" "${PRJ_NAME}" "${ARTIFACT_NAME}" "${PKG_VER}" "${STRIPPER}" "${STRIP}" "${LLVM_IR}" "${NATIVE_SIGNER}" "${SIGN_CERT_DIR}" "${SIGN_AUTHOR_KEY}" "${SIGN_AUTHOR_PWD}" "${SIGN_DIST1_KEY}" "${SIGN_DIST1_PWD}" "${SIGN_DIST1_CA}" "${SIGN_DIST2_KEY}" "${SIGN_DIST2_PWD}" "${SIGN_DIST2_CA}" "${SIGN_DIST2_ROOT}"
+ </script>
+ </execute>
+ </action>
+ <action name="debug">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:debugger:path"/>
+ <input type="variable" value="gdb-options"/>
+ <input type="variable" value="sysroot"/>
+ <input type="variable" value="debug-file-directory"/>
+ <script>${1} ${2} --eval-command="set sysroot ${3}" --init-eval-command="set debug-file-directory ${4}"</script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.sharedLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+cli_projpath=${9}
+cli_sdkpath=${10}
+cli_unittest_target_path=${11}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.staticLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar"/>
+ <tool name="edje_cc" path="#{SBI_HOME}/../Efl/bin/edje_cc"/>
+ <tool name="make" path="/usr/bin/make"/>
+ <tool name="msgfmt" path="/usr/bin/msgfmt"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="/bin/bash">
+ <script>
+echo "Checking prerequisite..."
+for pkg in "make"
+do
+ if [ "`which ${pkg} 2>/dev/null`" ]
+ then
+ echo "Checking ${pkg}... ok"
+ else
+ echo "Checking ${pkg}... is not installed"
+ exit 1
+ fi
+done
+ </script>
+ </execute>
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:archiver:path"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+make_bin=${1}
+clang_bin_path=`dirname ${2}`
+compiler_name=`basename ${2}`
+sysroot=${3}
+tc_misc=${4}
+tl_misc=${5}
+rc_misc=${6}
+rl_misc=${7}
+option=${8}
+ar_bin_path=`dirname ${9}`
+cli_projpath=${10}
+cli_sdkpath=${11}
+cli_unittest_target_path=${12}
+
+# make
+# TARGET_PROJPATH and TARGET_CONFPATH are only for building unittest project on CLI
+PATH=${clang_bin_path}:${ar_bin_path}:${PATH} \
+CC=${compiler_name} \
+ROOTSTRAP=${sysroot} \
+TC_COMPILER_MISC=${tc_misc} \
+TC_LINKER_MISC=${tl_misc} \
+RS_COMPILER_MISC=${rc_misc} \
+RS_LINKER_MISC=${rl_misc} \
+PROJPATH=${cli_projpath} \
+SDKPATH=${cli_sdkpath} \
+TARGET_PROJPATH=${cli_unittest_target_path} \
+TARGET_CONFPATH=${cli_unittest_target_path}/CommandLineBuild \
+ARCH_PATH=x86 \
+${make_bin} ${option}
+
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="/bin/bash">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>${1} ${2} ${3}</script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.app" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk.exe"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing.bat"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set APPID=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%GCC_BIN_PATH%) do (
+ set GCC_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="bat">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+@echo off
+set BUILD_DIR=%1
+shift
+set ARCH=%1
+shift
+shift
+set PKG_NAME=%1
+shift
+set PRJ_NAME=%1
+shift
+set ARTIFACT_NAME=%1
+shift
+set PKG_VER=%1
+shift
+set TPK_PACKAGER=%1
+shift
+set NATIVE_SIGNER=%1
+shift
+set SIGN_CERT_DIR=%1
+shift
+set SIGN_AUTHOR_KEY=%1
+shift
+set SIGN_AUTHOR_PWD=%1
+shift
+set SIGN_DIST1_KEY=%1
+shift
+set SIGN_DIST1_PWD=%1
+shift
+set SIGN_DIST1_CA=%1
+shift
+set SIGN_DIST2_KEY=%1
+shift
+set SIGN_DIST2_PWD=%1
+shift
+set SIGN_DIST2_CA=%1
+shift
+set SIGN_DIST2_ROOT=%1
+shift
+set STRIPPER=%1
+set LLVM_IR=NO
+
+for %%F in (%BUILD_DIR%) do set CONFIG_NAME=%%~nF
+set STRIP=NO
+if "%CONFIG_NAME%" == "Release" set STRIP=YES
+%TPK_PACKAGER% %BUILD_DIR% %ARCH% %PKG_NAME% %PRJ_NAME% %ARTIFACT_NAME% %PKG_VER% %STRIPPER% %STRIP% %LLVM_IR% %NATIVE_SIGNER% %SIGN_CERT_DIR% %SIGN_AUTHOR_KEY% %SIGN_AUTHOR_PWD% %SIGN_DIST1_KEY% %SIGN_DIST1_PWD% %SIGN_DIST1_CA% %SIGN_DIST2_KEY% %SIGN_DIST2_PWD% %SIGN_DIST2_CA% %SIGN_DIST2_ROOT%
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.sharedLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.armel.cpp.staticLib" name="GCC-4.5" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.app" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-Xlinker --as-needed"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk.exe"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing.bat"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set APPID=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%GCC_BIN_PATH%) do (
+ set GCC_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="bat">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+@echo off
+set BUILD_DIR=%1
+shift
+set ARCH=%1
+shift
+shift
+set PKG_NAME=%1
+shift
+set PRJ_NAME=%1
+shift
+set ARTIFACT_NAME=%1
+shift
+set PKG_VER=%1
+shift
+set TPK_PACKAGER=%1
+shift
+set NATIVE_SIGNER=%1
+shift
+set SIGN_CERT_DIR=%1
+shift
+set SIGN_AUTHOR_KEY=%1
+shift
+set SIGN_AUTHOR_PWD=%1
+shift
+set SIGN_DIST1_KEY=%1
+shift
+set SIGN_DIST1_PWD=%1
+shift
+set SIGN_DIST1_CA=%1
+shift
+set SIGN_DIST2_KEY=%1
+shift
+set SIGN_DIST2_PWD=%1
+shift
+set SIGN_DIST2_CA=%1
+shift
+set SIGN_DIST2_ROOT=%1
+set STRIPPER=#
+set STRIP=NO
+set LLVM_IR=NO
+
+%TPK_PACKAGER% %BUILD_DIR% %ARCH% %PKG_NAME% %PRJ_NAME% %ARTIFACT_NAME% %PKG_VER% %STRIPPER% %STRIP% %LLVM_IR% %NATIVE_SIGNER% %SIGN_CERT_DIR% %SIGN_AUTHOR_KEY% %SIGN_AUTHOR_PWD% %SIGN_DIST1_KEY% %SIGN_DIST1_PWD% %SIGN_DIST1_CA% %SIGN_DIST2_KEY% %SIGN_DIST2_PWD% %SIGN_DIST2_CA% %SIGN_DIST2_ROOT%
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.sharedLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="gcc45.i386.cpp.staticLib" name="GCC-4.5" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <tool name="c_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="c++_compiler" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-g++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set GCC_BIN_PATH=%2
+set ROOTSTRAP=%3
+set TC_COMPILER_MISC=%~4
+set TC_LINKER_MISC=%~5
+set RS_COMPILER_MISC=%~6
+set RS_LINKER_MISC=%~7
+set OPTIONS=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set OPTIONS=%~2
+%COMPILER% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.app" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain "#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/" -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain "#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/" -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="strip" version="GNU strip (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-strip.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk.exe"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing.bat"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set OPTIONS=%~9
+SHIFT
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set APPID=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="bat">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:strip:path"/>
+ <script>
+@echo off
+set BUILD_DIR=%1
+shift
+set ARCH=%1
+shift
+shift
+set PKG_NAME=%1
+shift
+set PRJ_NAME=%1
+shift
+set ARTIFACT_NAME=%1
+shift
+set PKG_VER=%1
+shift
+set TPK_PACKAGER=%1
+shift
+set NATIVE_SIGNER=%1
+shift
+set SIGN_CERT_DIR=%1
+shift
+set SIGN_AUTHOR_KEY=%1
+shift
+set SIGN_AUTHOR_PWD=%1
+shift
+set SIGN_DIST1_KEY=%1
+shift
+set SIGN_DIST1_PWD=%1
+shift
+set SIGN_DIST1_CA=%1
+shift
+set SIGN_DIST2_KEY=%1
+shift
+set SIGN_DIST2_PWD=%1
+shift
+set SIGN_DIST2_CA=%1
+shift
+set SIGN_DIST2_ROOT=%1
+shift
+set STRIPPER=%1
+set LLVM_IR=NO
+
+for %%F in (%BUILD_DIR%) do set CONFIG_NAME=%%~nF
+set STRIP=NO
+if "%CONFIG_NAME%" == "Release" set STRIP=YES
+%TPK_PACKAGER% %BUILD_DIR% %ARCH% %PKG_NAME% %PRJ_NAME% %ARTIFACT_NAME% %PKG_VER% %STRIPPER% %STRIP% %LLVM_IR% %NATIVE_SIGNER% %SIGN_CERT_DIR% %SIGN_AUTHOR_KEY% %SIGN_AUTHOR_PWD% %SIGN_DIST1_KEY% %SIGN_DIST1_PWD% %SIGN_DIST1_CA% %SIGN_DIST2_KEY% %SIGN_DIST2_PWD% %SIGN_DIST2_CA% %SIGN_DIST2_ROOT%
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.sharedLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.armel.cpp.staticLib" name="LLVM-3.1" architecture="armel" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target arm-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../arm-linux-gnueabi-gdb-7.5/bin/arm-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-as.exe"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-ar.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin/arm-linux-gnueabi-gcc.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../arm-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set OPTIONS=%~9
+SHIFT
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=arm
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.app" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.app"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain "#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/" -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain "#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/" -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="llvm_linker" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/llvm-link.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <tool name="tpk_packager" path="#{SBI_HOME}/bin/tpk.exe"/>
+ <tool name="native_signer" path="#{SBI_HOME}/../ide/bin/native-signing.bat"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliappid"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set OPTIONS=%~9
+SHIFT
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set APPID=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="buildpackage">
+ <execute script="bat">
+ <input type="variable" value="BUILD_DIR"/>
+ <input type="variable" value="ARCH"/>
+ <input type="variable" value="PKG_TYPE"/>
+ <input type="variable" value="PKG_NAME"/>
+ <input type="variable" value="PRJ_NAME"/>
+ <input type="variable" value="ARTIFACT_NAME"/>
+ <input type="variable" value="PKG_VER"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:tpk_packager:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:native_signer:path"/>
+ <input type="variable" value="SIGN_CERT_DIR"/>
+ <input type="variable" value="SIGN_AUTHOR_KEY"/>
+ <input type="variable" value="SIGN_AUTHOR_PWD"/>
+ <input type="variable" value="SIGN_DIST1_KEY"/>
+ <input type="variable" value="SIGN_DIST1_PWD"/>
+ <input type="variable" value="SIGN_DIST1_CA"/>
+ <input type="variable" value="SIGN_DIST2_KEY"/>
+ <input type="variable" value="SIGN_DIST2_PWD"/>
+ <input type="variable" value="SIGN_DIST2_CA"/>
+ <input type="variable" value="SIGN_DIST2_ROOT"/>
+ <script>
+@echo off
+set BUILD_DIR=%1
+shift
+set ARCH=%1
+shift
+shift
+set PKG_NAME=%1
+shift
+set PRJ_NAME=%1
+shift
+set ARTIFACT_NAME=%1
+shift
+set PKG_VER=%1
+shift
+set TPK_PACKAGER=%1
+shift
+set NATIVE_SIGNER=%1
+shift
+set SIGN_CERT_DIR=%1
+shift
+set SIGN_AUTHOR_KEY=%1
+shift
+set SIGN_AUTHOR_PWD=%1
+shift
+set SIGN_DIST1_KEY=%1
+shift
+set SIGN_DIST1_PWD=%1
+shift
+set SIGN_DIST1_CA=%1
+shift
+set SIGN_DIST2_KEY=%1
+shift
+set SIGN_DIST2_PWD=%1
+shift
+set SIGN_DIST2_CA=%1
+shift
+set SIGN_DIST2_ROOT=%1
+set STRIPPER=#
+set STRIP=NO
+set LLVM_IR=NO
+
+%TPK_PACKAGER% %BUILD_DIR% %ARCH% %PKG_NAME% %PRJ_NAME% %ARTIFACT_NAME% %PKG_VER% %STRIPPER% %STRIP% %LLVM_IR% %NATIVE_SIGNER% %SIGN_CERT_DIR% %SIGN_AUTHOR_KEY% %SIGN_AUTHOR_PWD% %SIGN_DIST1_KEY% %SIGN_DIST1_PWD% %SIGN_DIST1_CA% %SIGN_DIST2_KEY% %SIGN_DIST2_PWD% %SIGN_DIST2_CA% %SIGN_DIST2_ROOT%
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.sharedLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.sharedLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set OPTIONS=%~9
+SHIFT
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>
--- /dev/null
+<extension point="toolchainDefinition">
+ <toolchain id="llvm31.i386.cpp.staticLib" name="LLVM-3.1" architecture="i386" path="#{SBI_HOME}/.." toolchainType="tizen.native">
+ <property key="PROJECT_TYPE" value="org.tizen.nativecpp.buildArtefactType.staticLib"/>
+ <property key="LINKER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
+ <property key="COMPILER_MISCELLANEOUS_OPTION" value="-target i386-tizen-linux-gnueabi -gcc-toolchain #{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Wno-gnu"/>
+ <property key="DEFAULT" value="true"/>
+ <tool name="c_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang.exe"/>
+ <tool name="c++_compiler" version="LLVM/CLANG version 3.1" path="#{SBI_HOME}/../llvm-3.1/bin/clang++.exe"/>
+ <tool name="debugger" version="GNU gdb (Linaro GDB) 7.5-2012.12-1" path="#{SBI_HOME}/../i386-linux-gnueabi-gdb-7.5/bin/i386-linux-gnueabi-gdb.exe"/>
+ <tool name="assembler" version="GNU as (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-as.exe"/>
+ <tool name="archiver" version="GNU ar (GNU Binutils) 2.22" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-ar.exe"/>
+ <tool name="gcc" version="gcc linaro-4.5-2012.01" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin/i386-linux-gnueabi-gcc.exe"/>
+ <tool name="make" path="#{SBI_HOME}/../mingw/bin/mingw32-make.exe"/>
+ <tool name="msgfmt" path="#{SBI_HOME}/../mingw/bin/msgfmt.exe"/>
+ <tool name="binutils" path="#{SBI_HOME}/../i386-linux-gnueabi-gcc-4.5/bin"/>
+ <action name="make">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:make:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:gcc:path"/>
+ <input type="tag" value="#{ROOTSTRAP}:rootstrap:::path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="tag" value="#{ROOTSTRAP}:property:key:LINKER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <input type="variable" value="cliprojpath"/>
+ <input type="variable" value="clisdkpath"/>
+ <input type="variable" value="cliunitprojpath"/>
+ <script>
+@echo off
+set MAKE_BIN=%1
+set CLANG_BIN_PATH=%2
+set GCC_BIN_PATH=%3
+set ROOTSTRAP=%4
+set TC_COMPILER_MISC=%~5
+set TC_LINKER_MISC=%~6
+set RS_COMPILER_MISC=%~7
+set RS_LINKER_MISC=%~8
+set OPTIONS=%~9
+SHIFT
+set PROJPATH=%~9
+SHIFT
+set SDKPATH=%~9
+SHIFT
+set TARGET_PROJPATH=%~9
+set TARGET_CONFPATH=%TARGET_PROJPATH%/CommandLineBuild
+set ARCH_PATH=x86
+
+for %%F in (%CLANG_BIN_PATH%) do (
+ set CLANG_BIN_DIR=%%~dpF
+ set CC=%%F )
+for %%F in (%GCC_BIN_PATH%) do set GCC_BIN_DIR=%%~dpF
+for %%F in (%MAKE_BIN%) do set MAKE_NAME=%%~nF
+
+set PATH=%CLANG_BIN_DIR%;%GCC_BIN_DIR%;%PATH%
+if "%MAKE_NAME%" == "mingw32-make" (
+ %MAKE_BIN% %OPTIONS% --eval="SHELL=cmd" -r
+) else (
+ %MAKE_BIN% %OPTIONS% -r
+)
+ </script>
+ </execute>
+ </action>
+ <action name="commandCC">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ <action name="commandC++">
+ <execute script="bat">
+ <input type="tag" value="#{TOOLCHAIN}:tool:name:c++_compiler:path"/>
+ <input type="tag" value="#{TOOLCHAIN}:property:key:COMPILER_MISCELLANEOUS_OPTION:value"/>
+ <input type="variable" value="options"/>
+ <script>
+@echo off
+set COMPILER=%~1
+set MISCOP=%~2
+set OPTIONS=%~3
+%COMPILER% %MISCOP% %OPTIONS%
+ </script>
+ </execute>
+ </action>
+ </toolchain>
+</extension>