test/make/configure.vm

changeset 104
ea36fd802446
parent 103
01ec9f32835e
child 105
4b3e655339cb
equal deleted inserted replaced
103:01ec9f32835e 104:ea36fd802446
202 : ${PLATFORM:="unix"} 202 : ${PLATFORM:="unix"}
203 203
204 PLATFORM_NAME=`echo "$PLATFORM" | cut -f1 -d' ' -` 204 PLATFORM_NAME=`echo "$PLATFORM" | cut -f1 -d' ' -`
205 echo "$PLATFORM_NAME" 205 echo "$PLATFORM_NAME"
206 206
207 TOOLCHAIN=
208
209 isplatform() 207 isplatform()
210 { 208 {
211 for p in $PLATFORM 209 for p in $PLATFORM
212 do 210 do
213 if [ "$p" = "$1" ]; then 211 if [ "$p" = "$1" ]; then
272 #end 270 #end
273 __EOF__ 271 __EOF__
274 272
275 # toolchain detection utilities 273 # toolchain detection utilities
276 . make/toolchain.sh 274 . make/toolchain.sh
275 TOOLCHAIN="${D}{TOOLCHAIN_NAME}"
277 276
278 # 277 #
279 # DEPENDENCIES 278 # DEPENDENCIES
280 # 279 #
281 280
285 #foreach( $lang in $languages ) 284 #foreach( $lang in $languages )
286 if detect_${lang}_compiler ; then 285 if detect_${lang}_compiler ; then
287 lang_${lang}=1 286 lang_${lang}=1
288 fi 287 fi
289 #end 288 #end
290 TOOLCHAIN=$TOOLCHAIN_NAME
291 289
292 # create buffer for make variables required by dependencies 290 # create buffer for make variables required by dependencies
293 echo > "$TEMP_DIR/make.mk" 291 echo > "$TEMP_DIR/make.mk"
294 292
295 test_pkg_config() 293 test_pkg_config()

mercurial