diff options
author | Michal Simek <monstr@monstr.eu> | 2009-04-21 14:12:18 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-04-23 16:27:35 +0200 |
commit | 993ce24078eac1442078741cd204584b63de0881 (patch) | |
tree | 74012b3cbc8baee8a9bf6102eae6eda9f0b38c75 /arch/microblaze/Makefile | |
parent | 2921e2bd679949a7892d308b414e6a3b3c705260 (diff) | |
download | linux-993ce24078eac1442078741cd204584b63de0881.tar.gz linux-993ce24078eac1442078741cd204584b63de0881.tar.bz2 linux-993ce24078eac1442078741cd204584b63de0881.zip |
microblaze: Use CFLAGS_KERNEL instead of CFLAGS
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/Makefile')
-rw-r--r-- | arch/microblaze/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index ee302f9f588d..aaadfa701da3 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -32,15 +32,13 @@ CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER)) # The various CONFIG_XILINX cpu features options are integers 0/1/2... # rather than bools y/n -CFLAGS += $(CPUFLAGS-1) -CFLAGS += $(CPUFLAGS-2) # r31 holds current when in kernel mode -CFLAGS += -ffixed-r31 +CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) LDFLAGS_BLOB := --format binary --oformat elf32-microblaze -LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) +LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name) head-y := arch/microblaze/kernel/head.o libs-y += arch/microblaze/lib/ $(LIBGCC) |