configuration system supports %= to access environment variables

This commit is contained in:
Araq 2015-02-07 12:55:23 +01:00
commit 0b5c42f405
4 changed files with 20 additions and 12 deletions

View file

@ -5,7 +5,8 @@
# You may set environment variables with
# @putenv "key" "val"
# Environment variables cannot be used in the options, however!
# Environment variables can be accessed like so:
# gcc.path %= "$CC_PATH"
cc = gcc
@ -21,6 +22,7 @@ mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
@end
path="$lib/core"
path="$lib/pure"
path="$lib/pure/collections"
path="$lib/pure/concurrency"