X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fsh64%2FMakefile;h=8dac7e1a2be609f98385ffad7307c95e824ab798;hb=09cadedbdc01f1a4bea1f427d4fb4642eaa19da9;hp=8290c6380d7d6f09c8604457d4b4f9d8080dc2d7;hpb=4937ce87959629d31e9b09cf5bdf1e12a305c805;p=mv-sheeva.git diff --git a/arch/sh64/Makefile b/arch/sh64/Makefile index 8290c6380d7..8dac7e1a2be 100644 --- a/arch/sh64/Makefile +++ b/arch/sh64/Makefile @@ -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/