Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
cce-mtb-psoc61-mcuboot-bootloader/common_app.mk
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (38 sloc)
1.67 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# \file common_app.mk | |
# \version 1.0 | |
# | |
# \brief | |
# Settings shared across the entire application. | |
# | |
################################################################################ | |
# \copyright | |
# $ Copyright 2022-YEAR Cypress Semiconductor Apache2 $ | |
################################################################################ | |
################################################################################ | |
# Paths | |
################################################################################ | |
# Locate ModusToolbox software helper tools folders in default installation | |
# locations for Windows, Linux, and macOS. | |
CY_WIN_HOME=$(subst \,/,$(USERPROFILE)) | |
CY_TOOLS_PATHS ?= $(wildcard \ | |
$(CY_WIN_HOME)/ModusToolbox/tools_* \ | |
$(HOME)/ModusToolbox/tools_* \ | |
/Applications/ModusToolbox/tools_*) | |
# Absolute path to the compiler's "bin" directory. The variable name depends on the | |
# toolchain used for the build. Refer to the ModusToolbox user guide to get the correct | |
# variable name for the toolchain used in your build. | |
# | |
# The default depends on the selected TOOLCHAIN (GCC_ARM uses the ModusToolbox | |
# software provided compiler by default). | |
CY_COMPILER_GCC_ARM_DIR= | |
# If you install ModusToolbox software in a custom location, add the path to its | |
# "tools_X.Y" folder (where X and Y are the version number of the tools | |
# folder). | |
CY_TOOLS_PATHS+= | |
# Default to the newest installed tools folder, or the users override (if it's | |
# found). | |
CY_TOOLS_DIR=$(lastword $(sort $(wildcard $(CY_TOOLS_PATHS)))) | |
ifeq ($(CY_TOOLS_DIR),) | |
$(error Unable to find any of the available CY_TOOLS_PATHS -- $(CY_TOOLS_PATHS)) | |
endif |