]> git.proxmox.com Git - mirror_qemu.git/commit - Makefile
Makefile: pass include directives to dtc via CPPFLAGS, not CFLAGS
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Jun 2013 13:00:17 +0000 (14:00 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 21 Jun 2013 18:52:50 +0000 (22:52 +0400)
commit965f486c21a0a8fed33e65278516edfc01d1e2fd
treefe6e4dfe0878a63b3d7a405b082c3a9a73506878
parentad0f171e25fb60b385dc7d07632916d3b1043d81
Makefile: pass include directives to dtc via CPPFLAGS, not CFLAGS

The dtc submodule's makefile expects -I include directives to be
in CPPFLAGS, not CFLAGS. Getting this wrong meant that the include
directive would not be applied when generating the dependency .d
files. This in turn meant that we couldn't build libfdt when
doing an out of tree build with clang. (gcc's dependency output
is slightly different from clang in this situation so it happened
to work.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Makefile