]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7803709bd3a2b90dae01027498ac28d1932ee95
tree8bd24fa20950fe9446c365decc2e74e39019ce9d
parent8361f695b8dd39f9f93b8f10d3f03e8387abcdb8
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