- Timestamp:
- Dec 15, 2013, 7:51:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.0.x/scripts/build-igep.sh
r253 r255 15 15 16 16 #recupere cmake 17 if [ -f /opt/poky/latest/sysroots/x86_64-pokysdk-linux/usr/bin/cmake ]; then 18 CMAKE_NATIVE=/opt/poky/latest/sysroots/x86_64-pokysdk-linux/usr/bin/cmake 19 elif [ -f /opt/poky/latest/sysroots/i686-pokysdk-linux/usr/bin/cmake ]; then 20 CMAKE_NATIVE=/opt/poky/latest/sysroots/i686-pokysdk-linux/usr/bin/cmake 17 if [ -f ${OECORE_NATIVE_SYSROOT}/usr/bin/cmake ]; then 18 CMAKE_NATIVE=${OECORE_NATIVE_SYSROOT}/usr/bin/cmake 21 19 else 22 echo " la toolchain n'est pas installée, lirehttps://devel.hds.utc.fr/projects/igep/wiki/toolchain/install"20 echo "cross toolchain is not installed, please read https://devel.hds.utc.fr/projects/igep/wiki/toolchain/install" 23 21 exit 1 24 22 fi … … 44 42 $CMAKE_NATIVE .. -DPACPUS_INSTALL_DIR=$1 -DPACPUS_INSTALL_3RD=TRUE \ 45 43 -DPACPUS_USE_LOG=TRUE -DCMAKE_BUILD_TYPE=Release \ 46 -DPACPUS_INSTALL_WITH_VERSION_NUMBER=TRUE -DCMAKE_TOOLCHAIN_FILE= /opt/poky/toolchain.cmake44 -DPACPUS_INSTALL_WITH_VERSION_NUMBER=TRUE -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_CROSS_TOOLCHAIN} 47 45 make 48 46 sudo make install 49 47 $CMAKE_NATIVE .. -DPACPUS_INSTALL_DIR=$1 -DPACPUS_INSTALL_3RD=TRUE \ 50 48 -DPACPUS_USE_LOG=TRUE -DCMAKE_BUILD_TYPE=Debug 51 -DPACPUS_INSTALL_WITH_VERSION_NUMBER=TRUE -DCMAKE_TOOLCHAIN_FILE= /opt/poky/toolchain.cmake\49 -DPACPUS_INSTALL_WITH_VERSION_NUMBER=TRUE -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_CROSS_TOOLCHAIN} \ 52 50 make 53 51 sudo make install
Note:
See TracChangeset
for help on using the changeset viewer.