diff options
author | Andre Fischer <af@apache.org> | 2012-06-21 08:26:14 +0000 |
---|---|---|
committer | Andre Fischer <af@apache.org> | 2012-06-21 08:26:14 +0000 |
commit | 409a829dcf8ef445f54f6199652961b069487cc0 (patch) | |
tree | bfcfece027346b50d6e7f16e7b269b4a728ce675 /editeng/prj | |
parent | 32b7cbf216b86571e19168d2a4213b2c33861ee9 (diff) |
Forward debug=<value> argument from build to make.
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'editeng/prj')
-rw-r--r-- | editeng/prj/makefile.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/editeng/prj/makefile.mk b/editeng/prj/makefile.mk index 3c524e65572e..c62c6a657d16 100644 --- a/editeng/prj/makefile.mk +++ b/editeng/prj/makefile.mk @@ -32,5 +32,13 @@ VERBOSEFLAG := VERBOSEFLAG := -s .ENDIF +.IF "$(DEBUG)"!="" +DEBUG_ARGUMENT=DEBUG=$(DEBUG) +.ELIF "$(debug)"!="" +DEBUG_ARGUMENT=debug=$(debug) +.ELSE +DEBUG_ARGUMENT= +.ENDIF + all: - cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog |