CRIS v32: Replace build flags in boot/compressed/Makefile
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and KBUILD_CFLAGS to ccflags-y. We only need the flags in this Makefile.
This commit is contained in:
parent
8f2972529f
commit
111e3b1aba
@ -3,10 +3,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE)
|
CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE)
|
||||||
AFLAGS += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
|
asflags-y += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
|
||||||
KBUILD_CFLAGS += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
|
ccflags-y += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
|
||||||
LD = gcc-cris -mlinux -march=v32 -nostdlib
|
LD = gcc-cris -mlinux -march=v32 -nostdlib
|
||||||
LDFLAGS = -T $(obj)/decompress.ld
|
ldflags-y += -T $(obj)/decompress.ld
|
||||||
obj-y = head.o misc.o
|
obj-y = head.o misc.o
|
||||||
OBJECTS = $(obj)/head.o $(obj)/misc.o
|
OBJECTS = $(obj)/head.o $(obj)/misc.o
|
||||||
OBJCOPY = objcopy-cris
|
OBJCOPY = objcopy-cris
|
||||||
|
Loading…
Reference in New Issue
Block a user