Skip to content

Commit

Permalink
CRIS v10: Update boot/compressed/Makefile to use ccflags-y and ldflags-y
Browse files Browse the repository at this point in the history
Replace use of EXTRA_CFLAGS with ccflags-y and LDFLAGS with ldflags-y,
(we only need to change linker flags for this makefile)
  • Loading branch information
Jesper Nilsson committed Feb 8, 2008
1 parent 0dfb8c3 commit 3c9547a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/cris/arch-v10/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c9547a

Please sign in to comment.