public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] h8300: Makefile: remove the hard code CROSS_COMPILE
@ 2013-08-02  4:07 Chen Gang
  0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-08-02  4:07 UTC (permalink / raw)
  To: Yoshinori Sato; +Cc: linux-kernel@vger.kernel.org

Current Linux can set CROSS_CMPILE from command line or config file, so
need remove the hard code CROSS_COMPILE from Makefile, or can not work
with cross-compiler with additional prefix (e.g. "h8300-gchen-elf-").


Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
 arch/h8300/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile
index a556447..f333385 100644
--- a/arch/h8300/Makefile
+++ b/arch/h8300/Makefile
@@ -38,7 +38,6 @@ KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
 KBUILD_AFLAGS += -DPLATFORM=$(PLATFORM) -DMODEL=$(MODEL) $(cflags-y)
 LDFLAGS += $(ldflags-y)
 
-CROSS_COMPILE = h8300-elf-
 LIBGCC := $(shell $(CROSS-COMPILE)$(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
 
 head-y := arch/$(ARCH)/platform/$(PLATFORM)/$(BOARD)/crt0_$(MODEL).o
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-02  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02  4:07 [PATCH] h8300: Makefile: remove the hard code CROSS_COMPILE Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox