Changes in configure.sh [d231a54:f3a7b0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.sh
rd231a54 rf3a7b0d 110 110 PLATFORM=`sed -n '/^PLATFORM\b/p' Makefile.config | sed 's:[^=]*= ::'` 111 111 MACHINE=`sed -n '/^MACHINE\b/p' Makefile.config | sed 's:[^=]*= ::'` 112 COMPILER=`sed -n '/^COMPILER\b/p' Makefile.config | sed 's:[^=]*= ::'`113 112 114 113 cross_target="$PLATFORM" … … 120 119 fi 121 120 122 if [ "$COMPILER" = 'clang' ]; then123 cross_target="${cross_target}_clang"124 fi125 126 121 cross_def="${SOURCE_DIR}/meson/cross/${cross_target}" 127 122 cc_arch=`sed -n "s:cc_arch = '\(.*\)':\1:p" "$cross_def"` 128 123 129 if [ "$COMPILER" = 'clang' ]; then 130 compname="$cc_arch-helenos-clang" 131 else 132 compname="$cc_arch-helenos-gcc" 133 fi 124 compname="$cc_arch-helenos-gcc" 134 125 unset compprefix 135 126 … … 173 164 sed "s:@COMPPREFIX@:$compprefix:g" "$cross_def" > crossfile || exit 1 174 165 175 meson setup"${SOURCE_DIR}" '.' --cross-file crossfile || exit 1166 meson "${SOURCE_DIR}" '.' --cross-file crossfile || exit 1 176 167 177 168 echo
Note:
See TracChangeset
for help on using the changeset viewer.