mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Make configure dump its invocation arguments to the BuildConfig file to allow for easier rerun later, as I'm getting tired to figure each of them each time someone adds some config variable...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34867 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5484890096
commit
55d267a46d
6
configure
vendored
6
configure
vendored
@ -252,6 +252,9 @@ cd `dirname "$0"`
|
||||
sourceDir=`pwd`
|
||||
cd "$currentDir"
|
||||
|
||||
# backup the passed arguments
|
||||
configureArgs="$@"
|
||||
|
||||
# default parameter values
|
||||
#
|
||||
platform=`uname`
|
||||
@ -465,7 +468,8 @@ esac
|
||||
# Generate BuildConfig
|
||||
cat << EOF > "$buildOutputDir/BuildConfig"
|
||||
# BuildConfig
|
||||
# Note: This file has been automatically generated by configure.
|
||||
# Note: This file has been automatically generated by configure with the following arguments:
|
||||
# ${configureArgs}
|
||||
|
||||
TARGET_PLATFORM ?= "${target}" ;
|
||||
HOST_PLATFORM ?= "${buildPlatform}" ;
|
||||
|
Loading…
Reference in New Issue
Block a user