set FINAL define on release-build
This commit is contained in:
parent
a402918828
commit
b025dcf409
|
@ -50,6 +50,10 @@ WRAPOBJ=$(WRAP).o
|
||||||
WRAPSRC=$(WRAP).c
|
WRAPSRC=$(WRAP).c
|
||||||
LIBFILE=lib$(LIBNAME).a
|
LIBFILE=lib$(LIBNAME).a
|
||||||
|
|
||||||
|
ifeq "$(FINAL)" "y"
|
||||||
|
CFLAGS+=-DFINAL
|
||||||
|
endif
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Compiler settings, parameters and flags
|
# Compiler settings, parameters and flags
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
|
@ -21,6 +21,8 @@ mkdir $TARG/files
|
||||||
echo "###"
|
echo "###"
|
||||||
echo "### Building initial"
|
echo "### Building initial"
|
||||||
echo "###"
|
echo "###"
|
||||||
|
|
||||||
|
export FINAL=y
|
||||||
git checkout filesystem/ffconf.h
|
git checkout filesystem/ffconf.h
|
||||||
make clean
|
make clean
|
||||||
make APP=initial
|
make APP=initial
|
||||||
|
|
Loading…
Reference in New Issue