Skip to contentSkip to conversation

h8300: Makefile: remove the hard code CROSS_COMPILE

PATCH New Chen Gang 1 participant 1 message Aug 2, 2013

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 h8300: Makefile: remove the hard code CROSS_COMPILE

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-").

---
 arch/h8300/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/h8300/Makefile +0 -1
index a556447..f333385 100644
@@ -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
Signature · 1 line
1.7.7.6