Three patches for minor issues:

Guenter Roeck (1):
      cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected

Paul Bolle (1):
      cris: No need to append -O2 and $(LINUXINCLUDE)

Paul Gortmaker (1):
      tty: serial: make crisv10 explicitly non-modular

 arch/cris/boot/compressed/Makefile |    3 ---
 arch/cris/boot/rescue/Makefile     |    9 +++++++--
 drivers/tty/serial/crisv10.c       |    6 ++----
 3 files changed, 9 insertions(+), 9 deletions(-)
cris: No need to append -O2 and $(LINUXINCLUDE)

The make variables asflags-y and ccflags-y are appended with -O2 and
$(LINUXINCLUDE). But the build already picks up -O2 from the top Makefile
and $(LINUXINCLUDE) from scripts/Makefile.lib. The net effect is that -O2
and the (long) list of include directories are used twice.

This is harmless but pointless. So stop appending to these flags.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
2 files changed