cris: No need to append -O2 and $(LINUXINCLUDE)
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 25 Nov 2016 12:30:04 +0000 (13:30 +0100)
committerJesper Nilsson <jespern@axis.com>
Thu, 8 Dec 2016 09:56:40 +0000 (10:56 +0100)
commit8f50f2a1b46a11a9a9fb46c5d8325dfc88281a76
tree8bd24fa20950fe9446c365decc2e74e39019ce9d
parentc78874f116be67ecf54df225a613162b84cc6ebf
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>
arch/cris/boot/compressed/Makefile
arch/cris/boot/rescue/Makefile