]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh64/Makefile
mmc: at91_mci: cleanup: use MCI_ERRORS
[linux-2.6-omap-h63xx.git] / arch / sh64 / Makefile
index 8290c6380d7d6f09c8604457d4b4f9d8080dc2d7..8dac7e1a2be609f98385ffad7307c95e824ab798 100644 (file)
@@ -26,7 +26,7 @@ LDFLAGS                       += -EB  -mshelf32_linux
 endif
 
 # No requirements for endianess support from AFLAGS, 'as' always run through gcc
-CFLAGS         += $(cpu-y)
+KBUILD_CFLAGS          += $(cpu-y)
 
 LDFLAGS_vmlinux        += --defsym phys_stext=_stext-$(CONFIG_CACHED_MEMORY_OFFSET) \
                  --defsym phys_stext_shmedia=phys_stext+1 \
@@ -58,7 +58,7 @@ ifneq ($(machine-y),)
 core-y += arch/sh64/mach-$(machine-y)/
 endif
 
-LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
+LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
 libs-y += arch/$(ARCH)/lib/ $(LIBGCC)
 
 drivers-$(CONFIG_OPROFILE)     += arch/sh64/oprofile/