build: Use separate CFLAGS for tools
authorDouglas Raillard <douglas.raillard@arm.com>
Wed, 28 Dec 2016 14:47:50 +0000 (14:47 +0000)
committerDouglas Raillard <douglas.raillard@arm.com>
Tue, 31 Jan 2017 10:22:27 +0000 (10:22 +0000)
commit72fc70ed0ae1a78b2c0d65e0589319cdde098eee
tree3c7c0182eae6aff9ac12d0cbff270b3ebf485a1a
parentd7aa7b44d6c73f84a8913b010e850e0322063d91
build: Use separate CFLAGS for tools

Sharing the same CFLAGS for both the firmware and host tools is not
useful and can lead to compilation failure when CFLAGS is set on the
command line.

This patch make MAKEOVERRIDES special variable empty so make's command
line variable definitions are not implicitly forwarded to sub make
invocations. However, make options are still forwarded like "-s" option
to make the build silent.

Change-Id: Ia921c02beb1fd2041696a26160b9e7974ae000fa
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
Makefile