kbuild: correct assingment to CFLAGS with CROSS_COMPILE
authorSam Ravnborg <sam@mars.ravnborg.org>
Wed, 16 Aug 2006 19:14:08 +0000 (21:14 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Wed, 16 Aug 2006 19:14:08 +0000 (21:14 +0200)
commitc9eca0b91015bc685c2f35a50efc63d73fdf943a
tree0922f5cbb51d2dfca8ff14df625beadf734ec269
parent9ee4e3365dd0dab4c1e02fe44dc08a223b826c72
kbuild: correct assingment to CFLAGS with CROSS_COMPILE

Some architectures change $CC in arch/$(ARCH)/Makefile
mips is one example.

That have impact on what options are supported by gcc so move all
$(call cc-option, ...) after include of arch specific Makefile.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile