diff --git a/arch/cris/arch-v10/boot/compressed/Makefile b/arch/cris/arch-v10/boot/compressed/Makefile index 17ba271b226e..4a031cb27eb9 100644 --- a/arch/cris/arch-v10/boot/compressed/Makefile +++ b/arch/cris/arch-v10/boot/compressed/Makefile @@ -3,9 +3,9 @@ # CC = gcc-cris -melf $(LINUXINCLUDE) -EXTRA_CFLAGS = -O2 +ccflags-y += -O2 LD = ld-cris -LDFLAGS = -T $(obj)/decompress.ld +ldflags-y += -T $(obj)/decompress.ld OBJECTS = $(obj)/head.o $(obj)/misc.o OBJCOPY = objcopy-cris OBJCOPYFLAGS = -O binary --remove-section=.bss