common.mak: remove AS.

$(AS) was never used: $(assemble) invokes the C compiler instead.
In case of LLVM, this will allow us to consistently use the LLVM
internal assembler for both inline assembly in C and assembly
sources; so, avoid ever invoking binutils as explicitly.
This commit is contained in:
whitequark 2015-07-26 02:46:03 +03:00
parent 8d1c555e36
commit f500b906e6
1 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@ RM ?= rm -f
CC_normal := $(TARGET_PREFIX)gcc CC_normal := $(TARGET_PREFIX)gcc
CX_normal := $(TARGET_PREFIX)g++ CX_normal := $(TARGET_PREFIX)g++
AS_normal := $(TARGET_PREFIX)as
AR_normal := $(TARGET_PREFIX)ar AR_normal := $(TARGET_PREFIX)ar
LD_normal := $(TARGET_PREFIX)ld LD_normal := $(TARGET_PREFIX)ld
OBJCOPY_normal := $(TARGET_PREFIX)objcopy OBJCOPY_normal := $(TARGET_PREFIX)objcopy
@ -13,7 +12,6 @@ RANLIB_normal := $(TARGET_PREFIX)ranlib
CC_quiet = @echo " CC " $@ && $(TARGET_PREFIX)gcc CC_quiet = @echo " CC " $@ && $(TARGET_PREFIX)gcc
CX_quiet = @echo " CX " $@ && $(TARGET_PREFIX)g++ CX_quiet = @echo " CX " $@ && $(TARGET_PREFIX)g++
AS_quiet = @echo " AS " $@ && $(TARGET_PREFIX)as
AR_quiet = @echo " AR " $@ && $(TARGET_PREFIX)ar AR_quiet = @echo " AR " $@ && $(TARGET_PREFIX)ar
LD_quiet = @echo " LD " $@ && $(TARGET_PREFIX)ld LD_quiet = @echo " LD " $@ && $(TARGET_PREFIX)ld
OBJCOPY_quiet = @echo " OBJCOPY " $@ && $(TARGET_PREFIX)objcopy OBJCOPY_quiet = @echo " OBJCOPY " $@ && $(TARGET_PREFIX)objcopy
@ -24,7 +22,6 @@ MSC_GIT_ID := $(shell cd $(MSCDIR) && python3 -c "from misoclib.cpu.identifier i
ifeq ($(V),1) ifeq ($(V),1)
CC = $(CC_normal) CC = $(CC_normal)
CX = $(CX_normal) CX = $(CX_normal)
AS = $(AS_normal)
AR = $(AR_normal) AR = $(AR_normal)
LD = $(LD_normal) LD = $(LD_normal)
OBJCOPY = $(OBJCOPY_normal) OBJCOPY = $(OBJCOPY_normal)
@ -32,7 +29,6 @@ ifeq ($(V),1)
else else
CC = $(CC_quiet) CC = $(CC_quiet)
CX = $(CX_quiet) CX = $(CX_quiet)
AS = $(AS_quiet)
AR = $(AR_quiet) AR = $(AR_quiet)
LD = $(LD_quiet) LD = $(LD_quiet)
OBJCOPY = $(OBJCOPY_quiet) OBJCOPY = $(OBJCOPY_quiet)