Commit 4c34b2a0 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files use target cflags, not host

The current rule uses the host cflags when executing the
target compiler (which includes target header files).  We don't want to
mix the target compiler and host compiler flags, so change it to CFLAGS.
Otherwise we get things like -pedantic which the U-Boot source code does
not build with.

Signed-off-by: default avatarMike Frysinger <>
parent 5968adc4
...@@ -518,7 +518,7 @@ $(obj)include/ $(obj)include/config.h include/common.h ...@@ -518,7 +518,7 @@ $(obj)include/ $(obj)include/config.h include/common.h
@$(XECHO) Generating $@ ; \ @$(XECHO) Generating $@ ; \
set -e ; \ set -e ; \
: Generate the dependancies ; \ : Generate the dependancies ; \
-MQ $(obj)include/ include/common.h > $@ -MQ $(obj)include/ include/common.h > $@
$(obj)include/ $(obj)include/config.h $(obj)include/ $(obj)include/config.h
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment