Set the variables in BuildConfig with ?= which allows for overriding them with environment variables.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@277 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
333119344a
commit
f2578b0a59
8
configure
vendored
8
configure
vendored
@ -44,7 +44,7 @@ bochs_debug=0
|
||||
while [ $# \> 0 ] ; do
|
||||
case "$1" in
|
||||
--floppy) assertparam "$1" $#; floppy=$2; shift 2;;
|
||||
--bochs-debug) bochs_debug=1; shift 1;;
|
||||
--bochs-debug) bochs_debug=1; shift 1;;
|
||||
--help | -h) usage; exit 0;;
|
||||
*) echo Invalid argument: \`$1\'; exit 1;;
|
||||
esac
|
||||
@ -87,8 +87,8 @@ cat << EOF > BuildConfig
|
||||
# BuildConfig
|
||||
# Note: This file has been automatically generated by configure.
|
||||
|
||||
FLOPPY_PATH = "$floppy" ;
|
||||
GCC_PATH = ${GCC_PATH} ;
|
||||
BOCHS_E9_HACK = $bochs_debug ;
|
||||
FLOPPY_PATH ?= "$floppy" ;
|
||||
GCC_PATH ?= ${GCC_PATH} ;
|
||||
BOCHS_E9_HACK ?= $bochs_debug ;
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user