equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
223 # Our helper functions. |
223 # Our helper functions. |
224 include $(TOPDIR)/make/InitSupport.gmk |
224 include $(TOPDIR)/make/InitSupport.gmk |
225 |
225 |
226 # Parse COMPARE_BUILD (for makefile development) |
226 # Parse COMPARE_BUILD (for makefile development) |
227 $(eval $(call ParseCompareBuild)) |
227 $(eval $(call ParseCompareBuild)) |
|
228 |
|
229 # If no LOG= was given on command line, but we have a non-standard default |
|
230 # value, use that instead and re-parse log level. |
|
231 ifeq ($(LOG), ) |
|
232 ifneq ($(DEFAULT_LOG), ) |
|
233 override LOG := $(DEFAULT_LOG) |
|
234 $(eval $(call ParseLogLevel)) |
|
235 endif |
|
236 endif |
228 |
237 |
229 ifeq ($(LOG_NOFILE), true) |
238 ifeq ($(LOG_NOFILE), true) |
230 # Disable build log if LOG=[level,]nofile was given |
239 # Disable build log if LOG=[level,]nofile was given |
231 override BUILD_LOG_PIPE := |
240 override BUILD_LOG_PIPE := |
232 endif |
241 endif |