< prev index next >

make/common/Utils.gmk

Print this page
rev 59383 : [mq]: final

*** 1,7 **** # ! # Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this --- 1,7 ---- # ! # Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this
*** 294,305 **** # $1 - A property, or a space separated list of properties to test for. # # Returns true if the actual property matches one of the properties in the list, # and false otherwise. # ! # Examples: $(call isTargetOs, linux solaris) will return true when executed ! # on either linux or solaris, and false otherwise. # $(call isBuildCpuArch, x86) will return true iff the build CPU Arch is x86. isTargetOs = \ $(strip $(if $(filter $(OPENJDK_TARGET_OS), $1), true, false)) --- 294,305 ---- # $1 - A property, or a space separated list of properties to test for. # # Returns true if the actual property matches one of the properties in the list, # and false otherwise. # ! # Examples: $(call isTargetOs, linux windows) will return true when executed ! # on either linux or windows, and false otherwise. # $(call isBuildCpuArch, x86) will return true iff the build CPU Arch is x86. isTargetOs = \ $(strip $(if $(filter $(OPENJDK_TARGET_OS), $1), true, false))
< prev index next >