keep memory of ./configure parameters
This commit is contained in:
parent
8a665a1c8e
commit
ddf328845a
|
@ -30,6 +30,10 @@ INSTALL = install
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
DOXYGEN ?= doxygen
|
DOXYGEN ?= doxygen
|
||||||
|
|
||||||
|
.ifndef CONFIG_OPTIONS
|
||||||
|
CONFIG_OPTIONS != cat .configure.cache
|
||||||
|
.endif
|
||||||
|
|
||||||
# OSNAME and FWNAME are used for building OS or FW dependent code.
|
# OSNAME and FWNAME are used for building OS or FW dependent code.
|
||||||
OSNAME != uname -s
|
OSNAME != uname -s
|
||||||
ARCH != uname -m
|
ARCH != uname -m
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
# ./configure them and build them then miniupnpd will build using :
|
# ./configure them and build them then miniupnpd will build using :
|
||||||
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make
|
# $ IPTABLESPATH=/path/to/iptables-1.4.1 make
|
||||||
#
|
#
|
||||||
|
CONFIG_OPTIONS ?= $(cat .configure.cache)
|
||||||
CONFIG_OPTIONS += --firewall=iptables
|
CONFIG_OPTIONS += --firewall=iptables
|
||||||
#CFLAGS = -O -g -DDEBUG
|
#CFLAGS = -O -g -DDEBUG
|
||||||
CFLAGS ?= -Os
|
CFLAGS ?= -Os
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
# (default INSTALLPREFIX is /usr)
|
# (default INSTALLPREFIX is /usr)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
CONFIG_OPTIONS ?= $(cat .configure.cache)
|
||||||
CONFIG_OPTIONS += --firewall=nftables
|
CONFIG_OPTIONS += --firewall=nftables
|
||||||
#CFLAGS = -O -g #-DDEBUG
|
#CFLAGS = -O -g #-DDEBUG
|
||||||
CFLAGS ?= -Os
|
CFLAGS ?= -Os
|
||||||
|
|
|
@ -68,6 +68,7 @@ case "$argv" in
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo $* > .configure.cache
|
||||||
BASEDIR=`dirname "$0"`
|
BASEDIR=`dirname "$0"`
|
||||||
RM="rm -f"
|
RM="rm -f"
|
||||||
MV="mv"
|
MV="mv"
|
||||||
|
|
Loading…
Reference in New Issue