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