summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2017-02-28 11:58:12 +0000
committerGitHub <noreply@github.com>2017-02-28 11:58:12 +0000
commit7befa5a9326f8861da1536f78ea917f882fd8f1b (patch)
tree8e199f3cbaacd76b821b85ec27d3c08ba23804ed /Makefile
parentd6845d3dc3030335e9c13cf37f9ba1333a776629 (diff)
parent72fc70ed0ae1a78b2c0d65e0589319cdde098eee (diff)
Merge pull request #837 from douglas-raillard-arm/dr/fix_tools_cflags
build: Use separate CFLAGS for tools
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f900db3..932fb3b5 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,11 @@ VERSION_MINOR := 3
# Default goal is build all images
.DEFAULT_GOAL := all
+# Avoid any implicit propagation of command line variable definitions to
+# sub-Makefiles, like CFLAGS that we reserved for the firmware images'
+# usage. Other command line options like "-s" are still propagated as usual.
+MAKEOVERRIDES =
+
MAKE_HELPERS_DIRECTORY := make_helpers/
include ${MAKE_HELPERS_DIRECTORY}build_macros.mk
include ${MAKE_HELPERS_DIRECTORY}build_env.mk