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