support: fix configure args storage.
This commit is contained in:
parent
53a9d6a4ba
commit
efd2c28b89
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,8 @@
|
|||
# Defaults
|
||||
# ###########################################################################
|
||||
|
||||
CONFIGURE_ARGS="$*"
|
||||
|
||||
# System setup
|
||||
[ -z "$PLATFORM" ] && PLATFORM=linux
|
||||
[ -z "$CPU" ] && CPU=generic
|
||||
|
@ -460,11 +462,12 @@ function write_config
|
|||
CONFIG_MK=${ROOTDIR}/.config.mk
|
||||
cat > ${CONFIG_MK} <<EOF
|
||||
# Automatically generated by configure - DO NOT EDIT!
|
||||
CONFIGURE_ARGS = ${BASH_ARGV[*]}
|
||||
CONFIGURE_ARGS = ${CONFIGURE_ARGS}
|
||||
ROOTDIR ?= ${ROOTDIR}
|
||||
BUILDDIR ?= ${ROOTDIR}/build.${PLATFORM}
|
||||
OSENV ?= ${OSENV}
|
||||
ARCH ?= ${ARCH}
|
||||
CPU ?= ${CPU}
|
||||
ifeq (\$(origin CC),default)
|
||||
CC = ${CC}
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue