2012-04-10 15:18:28 +00:00
|
|
|
#
|
2024-02-19 16:11:02 +00:00
|
|
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
2012-04-10 15:18:28 +00:00
|
|
|
# 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
|
|
|
|
# particular file as subject to the "Classpath" exception as provided
|
|
|
|
# by Oracle in the LICENSE file that accompanied this code.
|
|
|
|
#
|
|
|
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
# version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
# accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License version
|
|
|
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
# or visit www.oracle.com if you need additional information or have any
|
|
|
|
# questions.
|
|
|
|
#
|
|
|
|
|
2024-09-03 15:31:09 +00:00
|
|
|
################################################################################
|
2024-04-11 14:15:34 +00:00
|
|
|
# MakeBase provides the core functionality needed and used by all makefiles. It
|
|
|
|
# should be included by all makefiles. MakeBase provides essential
|
|
|
|
# functionality for named parameter functions, variable dependency, tool
|
|
|
|
# execution, logging and fixpath functionality.
|
2024-09-03 15:31:09 +00:00
|
|
|
################################################################################
|
2012-04-10 15:18:28 +00:00
|
|
|
|
|
|
|
ifndef _MAKEBASE_GMK
|
|
|
|
_MAKEBASE_GMK := 1
|
|
|
|
|
2024-09-03 15:31:09 +00:00
|
|
|
ifeq ($(wildcard $(SPEC)), )
|
2015-03-26 15:17:30 +00:00
|
|
|
$(error MakeBase.gmk needs SPEC set to a proper spec.gmk)
|
|
|
|
endif
|
|
|
|
|
2015-04-16 10:39:43 +00:00
|
|
|
# By defining this pseudo target, make will automatically remove targets
|
|
|
|
# if their recipe fails so that a rebuild is automatically triggered on the
|
|
|
|
# next make invocation.
|
|
|
|
.DELETE_ON_ERROR:
|
2015-03-26 15:17:30 +00:00
|
|
|
|
2015-09-09 07:36:39 +00:00
|
|
|
################################################################################
|
|
|
|
# Definitions for special characters
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# When calling macros, the spaces between arguments are
|
|
|
|
# often semantically important! Sometimes we need to subst
|
|
|
|
# spaces and commas, therefore we need the following macros.
|
2024-09-03 15:31:09 +00:00
|
|
|
X :=
|
|
|
|
SPACE := $(X) $(X)
|
|
|
|
COMMA := ,
|
|
|
|
DOLLAR := $$
|
|
|
|
HASH := \#
|
|
|
|
LEFT_PAREN := (
|
|
|
|
RIGHT_PAREN := )
|
|
|
|
SQUOTE := '
|
2015-09-09 07:36:39 +00:00
|
|
|
#'
|
2024-09-03 15:31:09 +00:00
|
|
|
DQUOTE := "
|
2015-09-09 07:36:39 +00:00
|
|
|
#"
|
|
|
|
define NEWLINE
|
|
|
|
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
2017-10-24 08:41:45 +00:00
|
|
|
# Certain features only work in newer version of GNU Make. The build will still
|
|
|
|
# function in 3.81, but will be less performant.
|
2015-09-28 09:39:13 +00:00
|
|
|
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
|
|
|
|
HAS_FILE_FUNCTION := true
|
2018-03-21 00:42:20 +00:00
|
|
|
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
|
2017-10-24 08:41:45 +00:00
|
|
|
RWILDCARD_WORKS := true
|
2015-09-28 09:39:13 +00:00
|
|
|
endif
|
|
|
|
|
2019-01-25 10:13:20 +00:00
|
|
|
# For convenience, MakeBase.gmk continues to include these separate files, at
|
|
|
|
# least for now.
|
2024-04-11 14:15:34 +00:00
|
|
|
# Utils.gmk must be included before FileUtils.gmk, since it uses some of the
|
|
|
|
# basic utility functions there.
|
2019-01-25 10:13:20 +00:00
|
|
|
include $(TOPDIR)/make/common/Utils.gmk
|
2024-04-11 14:15:34 +00:00
|
|
|
include $(TOPDIR)/make/common/FileUtils.gmk
|
2015-03-26 15:17:30 +00:00
|
|
|
|
2016-01-16 12:01:43 +00:00
|
|
|
################################################################################
|
2024-04-11 14:15:34 +00:00
|
|
|
# Make sure we have a value (could be overridden on command line by caller)
|
|
|
|
CREATING_BUILDJDK ?= false
|
2012-06-08 03:25:06 +00:00
|
|
|
|
2016-01-16 12:01:43 +00:00
|
|
|
################################################################################
|
|
|
|
|
2012-06-08 03:25:06 +00:00
|
|
|
define SetupLogging
|
2017-03-30 19:23:07 +00:00
|
|
|
ifeq ($$(LOG_PROFILE_TIMES_FILE), true)
|
|
|
|
ifeq ($$(IS_GNU_TIME), yes)
|
2017-09-12 17:03:56 +00:00
|
|
|
SHELL := $$(BASH) $$(TOPDIR)/make/scripts/shell-profiler.sh \
|
2017-03-30 19:23:07 +00:00
|
|
|
gnutime $$(TIME) \
|
2017-09-25 08:32:00 +00:00
|
|
|
$$(OUTPUTDIR)/build-profile.log $$(SHELL)
|
2017-03-30 19:23:07 +00:00
|
|
|
else ifneq ($$(FLOCK), )
|
2017-09-12 17:03:56 +00:00
|
|
|
SHELL := $$(BASH) $$(TOPDIR)/make/scripts/shell-profiler.sh \
|
2017-03-30 19:23:07 +00:00
|
|
|
flock $$(FLOCK) \
|
2017-09-25 08:32:00 +00:00
|
|
|
$$(OUTPUTDIR)/build-profile.log $$(SHELL)
|
2017-03-30 19:23:07 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2024-09-03 15:31:09 +00:00
|
|
|
ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
|
2024-02-19 16:11:02 +00:00
|
|
|
SHELL := $$(SHELL) -x
|
|
|
|
endif
|
|
|
|
|
2015-03-26 15:17:30 +00:00
|
|
|
ifeq ($$(LOG_LEVEL), trace)
|
2017-03-30 19:23:07 +00:00
|
|
|
SHELL_NO_RECURSE := $$(SHELL)
|
2013-10-10 12:58:19 +00:00
|
|
|
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make
|
|
|
|
# For each target executed, will print
|
|
|
|
# Building <TARGET> (from <FIRST PREREQUISITE>) (<ALL NEWER PREREQUISITES> newer)
|
|
|
|
# but with a limit of 20 on <ALL NEWER PREREQUISITES>, to avoid cluttering logs too much
|
|
|
|
# (and causing a crash on Cygwin).
|
2017-03-30 19:23:07 +00:00
|
|
|
SHELL = $$(warning $$(if $$@,Building $$@,Running shell command) $$(if $$<, (from $$<))$$(if $$?, ($$(wordlist 1, 20, $$?) $$(if $$(wordlist 21, 22, $$?), ... [in total $$(words $$?) files]) newer)))$$(SHELL_NO_RECURSE) -x
|
2013-10-10 12:58:19 +00:00
|
|
|
endif
|
2017-03-30 19:23:07 +00:00
|
|
|
|
2019-06-07 16:16:11 +00:00
|
|
|
# The LOG_PREFIX is set for sub recursive calls like buildjdk and bootcycle.
|
2016-02-02 14:02:55 +00:00
|
|
|
# The warn level can never be turned off
|
2019-06-07 16:16:11 +00:00
|
|
|
LogWarn = $$(info $(LOG_PREFIX)$$(strip $$1))
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_WARN :=
|
2024-09-03 15:31:09 +00:00
|
|
|
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace), )
|
2019-06-07 16:16:11 +00:00
|
|
|
LogInfo = $$(info $(LOG_PREFIX)$$(strip $$1))
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_INFO :=
|
2013-10-10 12:58:19 +00:00
|
|
|
else
|
2015-12-15 10:02:03 +00:00
|
|
|
LogInfo =
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_INFO := > /dev/null
|
2013-10-10 12:58:19 +00:00
|
|
|
endif
|
2024-09-03 15:31:09 +00:00
|
|
|
ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
|
2019-06-07 16:16:11 +00:00
|
|
|
LogDebug = $$(info $(LOG_PREFIX)$$(strip $$1))
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_DEBUG :=
|
2013-10-10 12:58:19 +00:00
|
|
|
else
|
2015-12-15 10:02:03 +00:00
|
|
|
LogDebug =
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_DEBUG := > /dev/null
|
2013-10-10 12:58:19 +00:00
|
|
|
endif
|
2024-09-03 15:31:09 +00:00
|
|
|
ifneq ($$(findstring $$(LOG_LEVEL), trace), )
|
2019-06-07 16:16:11 +00:00
|
|
|
LogTrace = $$(info $(LOG_PREFIX)$$(strip $$1))
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_TRACE :=
|
2013-10-10 12:58:19 +00:00
|
|
|
else
|
2015-12-15 10:02:03 +00:00
|
|
|
LogTrace =
|
2015-03-26 15:17:30 +00:00
|
|
|
LOG_TRACE := > /dev/null
|
2013-10-10 12:58:19 +00:00
|
|
|
endif
|
2012-06-08 03:25:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
# Make sure logging is setup for everyone that includes MakeBase.gmk.
|
|
|
|
$(eval $(call SetupLogging))
|
|
|
|
|
2015-03-12 11:13:23 +00:00
|
|
|
################################################################################
|
2012-10-26 21:29:57 +00:00
|
|
|
|
2022-10-17 09:29:50 +00:00
|
|
|
MAX_PARAMS := 96
|
2015-03-12 11:13:23 +00:00
|
|
|
PARAM_SEQUENCE := $(call sequence, 2, $(MAX_PARAMS))
|
|
|
|
|
|
|
|
# Template for creating a macro taking named parameters. To use it, assign the
|
|
|
|
# template to a variable with the name you want for your macro, using '='
|
|
|
|
# assignment. Then define a macro body with the suffix "Body". The Body macro
|
|
|
|
# should take 1 parameter which should be a unique string for that invocation
|
|
|
|
# of the macro.
|
|
|
|
# Ex:
|
|
|
|
# SetupFoo = $(NamedParamsMacroTemplate)
|
|
|
|
# define SetupFooBody
|
|
|
|
# # do something
|
|
|
|
# # access parameters as $$($1_BAR)
|
|
|
|
# endef
|
|
|
|
# Call it like this
|
|
|
|
# $(eval $(call SetupFoo, BUILD_SOMETHING, \
|
|
|
|
# BAR := some parameter value, \
|
|
|
|
# ))
|
|
|
|
define NamedParamsMacroTemplate
|
2024-09-03 15:31:09 +00:00
|
|
|
$(if $($(MAX_PARAMS)), $(error Internal makefile error: \
|
2015-03-12 11:13:23 +00:00
|
|
|
Too many named arguments to macro, please update MAX_PARAMS in MakeBase.gmk))
|
|
|
|
# Iterate over 2 3 4... and evaluate the named parameters with $1_ as prefix
|
2024-09-03 15:31:09 +00:00
|
|
|
$(foreach i, $(PARAM_SEQUENCE), $(if $(strip $($i)), \
|
2017-01-10 10:28:25 +00:00
|
|
|
$(strip $1)_$(strip $(call EscapeHash, $(call DoubleDollar, $($i))))$(NEWLINE)))
|
2015-03-12 11:13:23 +00:00
|
|
|
# Debug print all named parameter names and values
|
2022-11-21 15:13:08 +00:00
|
|
|
$(if $(findstring $(LOG_LEVEL), trace), \
|
2024-09-03 15:31:09 +00:00
|
|
|
$(info $0 $(strip $1) $(foreach i, $(PARAM_SEQUENCE), \
|
2015-03-12 11:13:23 +00:00
|
|
|
$(if $(strip $($i)),$(NEWLINE) $(strip [$i] $(if $(filter $(LOG_LEVEL), trace), \
|
|
|
|
$($i), $(wordlist 1, 20, $($(i))) $(if $(word 21, $($(i))), ...)))))))
|
|
|
|
|
|
|
|
$(if $(DEBUG_$(strip $1)),
|
|
|
|
$(info -------- <<< Begin expansion of $(strip $1)) \
|
|
|
|
$(info $(call $(0)Body,$(strip $1))) \
|
|
|
|
$(info -------- >>> End expansion of $(strip $1)) \
|
2014-11-26 13:59:10 +00:00
|
|
|
)
|
|
|
|
|
2015-03-12 11:13:23 +00:00
|
|
|
$(call $(0)Body,$(strip $1))
|
2014-11-26 13:59:10 +00:00
|
|
|
endef
|
|
|
|
|
2015-01-26 09:28:53 +00:00
|
|
|
################################################################################
|
2017-03-03 11:57:57 +00:00
|
|
|
# FixPath
|
|
|
|
#
|
|
|
|
# On Windows, converts a path from cygwin/unix style (e.g. /bin/foo) into
|
|
|
|
# "mixed mode" (e.g. c:/cygwin/bin/foo). On other platforms, return the path
|
|
|
|
# unchanged.
|
2020-12-07 15:55:53 +00:00
|
|
|
# This also converts a colon-separated list of paths to a semicolon-separated
|
|
|
|
# list.
|
2017-03-03 11:57:57 +00:00
|
|
|
# This is normally not needed since we use the FIXPATH prefix for command lines,
|
|
|
|
# but might be needed in certain circumstances.
|
2022-10-05 10:26:53 +00:00
|
|
|
#
|
|
|
|
# FixPathFile is the file version of FixPath. It instead takes a file with paths in $1
|
|
|
|
# and outputs the 'fixed' paths into the file in $2. If the file in $2 already exists
|
|
|
|
# it is overwritten.
|
|
|
|
# On non-Windows platforms this instead does a copy, so that $2 can still be used
|
|
|
|
# as a depenendency of a make rule, instead of having to conditionally depend on
|
|
|
|
# $1 instead, based on the target platform.
|
2019-02-07 11:35:45 +00:00
|
|
|
ifeq ($(call isTargetOs, windows), true)
|
2017-03-03 11:57:57 +00:00
|
|
|
FixPath = \
|
2020-12-07 15:55:53 +00:00
|
|
|
$(strip $(subst \,\\, $(shell $(FIXPATH_BASE) print $(patsubst $(FIXPATH), , $1))))
|
2022-10-05 10:26:53 +00:00
|
|
|
FixPathFile = \
|
|
|
|
$(shell $(FIXPATH_BASE) convert $1 $2)
|
2019-06-03 08:28:03 +00:00
|
|
|
else
|
2020-12-07 15:55:53 +00:00
|
|
|
FixPath = \
|
2019-06-03 08:28:03 +00:00
|
|
|
$1
|
2022-10-05 10:26:53 +00:00
|
|
|
FixPathFile = \
|
|
|
|
$(shell $(CP) $1 $2)
|
2019-06-03 08:28:03 +00:00
|
|
|
endif
|
|
|
|
|
2015-01-26 09:28:53 +00:00
|
|
|
################################################################################
|
|
|
|
# DependOnVariable
|
|
|
|
#
|
2015-02-27 10:56:57 +00:00
|
|
|
# This macro takes a variable name and puts the value in a file only if the
|
|
|
|
# value has changed since last. The name of the file is returned. This can be
|
2015-01-26 09:28:53 +00:00
|
|
|
# used to create rule dependencies on make variable values. The following
|
|
|
|
# example would get rebuilt if the value of SOME_VAR was changed:
|
|
|
|
#
|
|
|
|
# path/to/some-file: $(call DependOnVariable, SOME_VAR)
|
|
|
|
# echo $(SOME_VAR) > $@
|
|
|
|
#
|
|
|
|
# Note that leading and trailing white space in the value is ignored.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Defines the sub directory structure to store variable value file in
|
|
|
|
DependOnVariableDirName = \
|
2016-03-17 19:03:53 +00:00
|
|
|
$(strip $(addsuffix $(if $(MODULE),/$(MODULE)), \
|
2020-07-15 21:04:54 +00:00
|
|
|
$(subst $(WORKSPACE_ROOT)/,, $(if $(filter /%, $(firstword $(MAKEFILE_LIST))), \
|
2015-01-26 09:28:53 +00:00
|
|
|
$(firstword $(MAKEFILE_LIST)), \
|
2016-03-17 19:03:53 +00:00
|
|
|
$(CURDIR)/$(firstword $(MAKEFILE_LIST))))))
|
2015-01-26 09:28:53 +00:00
|
|
|
|
|
|
|
# Defines the name of the file to store variable value in. Generates a name
|
|
|
|
# unless parameter 2 is given.
|
|
|
|
# Param 1 - Name of variable
|
|
|
|
# Param 2 - (optional) name of file to store value in
|
|
|
|
DependOnVariableFileName = \
|
|
|
|
$(strip $(if $(strip $2), $2, \
|
|
|
|
$(MAKESUPPORT_OUTPUTDIR)/vardeps/$(DependOnVariableDirName)/$(strip $1).vardeps))
|
|
|
|
|
2020-07-15 21:04:54 +00:00
|
|
|
# Writes the vardeps file. Assumes $1_filename has been setup
|
|
|
|
# Param 1 - Name of variable
|
|
|
|
DependOnVariableWriteFile = \
|
|
|
|
$(call MakeDir, $(dir $($1_filename))) \
|
2024-09-03 15:31:09 +00:00
|
|
|
$(call WriteFile, $1_old := $(call DoubleDollar,$(call EscapeHash,$($1))), \
|
2024-08-30 08:58:18 +00:00
|
|
|
$($1_filename)) \
|
2020-07-15 21:04:54 +00:00
|
|
|
|
2015-01-26 09:28:53 +00:00
|
|
|
# Does the actual work with parameters stripped.
|
|
|
|
# If the file exists AND the contents is the same as the variable, do nothing
|
|
|
|
# else print a new file.
|
|
|
|
# Always returns the name of the file where the value was printed.
|
|
|
|
# Param 1 - Name of variable
|
|
|
|
# Param 2 - (optional) name of file to store value in
|
|
|
|
DependOnVariableHelper = \
|
2015-09-28 09:39:13 +00:00
|
|
|
$(strip \
|
2020-01-30 10:08:30 +00:00
|
|
|
$(eval $1_filename := $(call DependOnVariableFileName, $1, $2)) \
|
2020-07-15 21:04:54 +00:00
|
|
|
$(if $(wildcard $($1_filename)), \
|
|
|
|
$(eval include $($1_filename)) \
|
2024-09-03 15:31:09 +00:00
|
|
|
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),, \
|
2020-07-15 21:04:54 +00:00
|
|
|
$(if $(findstring $(LOG_LEVEL), trace), \
|
|
|
|
$(info NewVariable $1: >$(strip $($1))<) \
|
|
|
|
$(info OldVariable $1: >$(strip $($1_old))<) \
|
|
|
|
) \
|
|
|
|
$(call DependOnVariableWriteFile,$1) \
|
|
|
|
) \
|
|
|
|
, \
|
|
|
|
$(call DependOnVariableWriteFile,$1) \
|
|
|
|
) \
|
2020-01-30 10:08:30 +00:00
|
|
|
$($1_filename) \
|
2015-09-28 09:39:13 +00:00
|
|
|
)
|
2015-01-26 09:28:53 +00:00
|
|
|
|
|
|
|
# Main macro
|
|
|
|
# Param 1 - Name of variable
|
|
|
|
# Param 2 - (optional) name of file to store value in
|
|
|
|
DependOnVariable = \
|
|
|
|
$(call DependOnVariableHelper,$(strip $1),$(strip $2))
|
|
|
|
|
2016-02-02 14:02:55 +00:00
|
|
|
# LogCmdlines is only intended to be used by ExecuteWithLog
|
|
|
|
ifeq ($(LOG_CMDLINES), true)
|
|
|
|
LogCmdlines = $(info $(strip $1))
|
|
|
|
else
|
|
|
|
LogCmdlines =
|
|
|
|
endif
|
|
|
|
|
2015-09-03 09:05:49 +00:00
|
|
|
################################################################################
|
2016-02-02 14:02:55 +00:00
|
|
|
# ExecuteWithLog will run a command and log the output appropriately. This is
|
|
|
|
# meant to be used by commands that do "real" work, like a compilation.
|
|
|
|
# The output is stored in a specified log file, which is displayed at the end
|
|
|
|
# of the build in case of failure. The command line itself is stored in a file,
|
|
|
|
# and also logged to stdout if the LOG=cmdlines option has been given.
|
2015-09-03 09:05:49 +00:00
|
|
|
#
|
2016-07-01 10:32:21 +00:00
|
|
|
# NOTE: If the command redirects stdout, the caller needs to wrap it in a
|
|
|
|
# subshell (by adding parentheses around it), otherwise the redirect to the
|
|
|
|
# subshell tee process will create a race condition where the target file may
|
|
|
|
# not be fully written when the make recipe is done.
|
|
|
|
#
|
2016-02-02 14:02:55 +00:00
|
|
|
# Param 1 - The path to base the name of the log file / command line file on
|
|
|
|
# Param 2 - The command to run
|
|
|
|
ExecuteWithLog = \
|
2019-10-17 08:35:18 +00:00
|
|
|
$(call LogCmdlines, Executing: [$(strip $2)]) \
|
|
|
|
$(call MakeDir, $(dir $(strip $1)) $(MAKESUPPORT_OUTPUTDIR)/failure-logs) \
|
2016-02-02 14:02:55 +00:00
|
|
|
$(call WriteFile, $2, $(strip $1).cmdline) \
|
2018-07-12 14:30:47 +00:00
|
|
|
( $(RM) $(strip $1).log && $(strip $2) > >($(TEE) -a $(strip $1).log) 2> >($(TEE) -a $(strip $1).log >&2) || \
|
2016-02-02 14:02:55 +00:00
|
|
|
( exitcode=$(DOLLAR)? && \
|
2017-09-25 08:32:00 +00:00
|
|
|
$(CP) $(strip $1).log $(MAKESUPPORT_OUTPUTDIR)/failure-logs/$(subst /,_,$(patsubst $(OUTPUTDIR)/%,%,$(strip $1))).log && \
|
|
|
|
$(CP) $(strip $1).cmdline $(MAKESUPPORT_OUTPUTDIR)/failure-logs/$(subst /,_,$(patsubst $(OUTPUTDIR)/%,%,$(strip $1))).cmdline && \
|
2016-07-01 10:32:21 +00:00
|
|
|
exit $(DOLLAR)exitcode ) )
|
2015-09-03 09:05:49 +00:00
|
|
|
|
2014-08-17 14:51:37 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Hook to include the corresponding custom file, if present.
|
2017-10-05 10:41:06 +00:00
|
|
|
$(eval $(call IncludeCustomExtension, common/MakeBase.gmk))
|
2014-08-17 14:51:37 +00:00
|
|
|
|
2012-04-10 15:18:28 +00:00
|
|
|
endif # _MAKEBASE_GMK
|