OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [libgcc/] [static-object.mk] - Diff between revs 272 and 384

Only display areas with differences | Details | Blame | View Log

Rev 272 Rev 384
# This file is included several times in a row, once for each element of
# This file is included several times in a row, once for each element of
# $(iter-items).  On each inclusion, we advance $o to the next element.
# $(iter-items).  On each inclusion, we advance $o to the next element.
o := $(firstword $(iter-items))
o := $(firstword $(iter-items))
iter-items := $(filter-out $o,$(iter-items))
iter-items := $(filter-out $o,$(iter-items))
base := $(basename $(notdir $o))
base := $(basename $(notdir $o))
ifeq ($(suffix $o),.c)
ifeq ($(suffix $o),.c)
$(base)$(objext): $o
$(base)$(objext): $o
        $(gcc_compile) $(c_flags) -c $< $(vis_hide)
        $(gcc_compile) $(c_flags) -c $< $(vis_hide)
else
else
ifneq ($(suffix $o),.S)
ifneq ($(suffix $o),.S)
ifneq ($(suffix $o),.asm)
ifneq ($(suffix $o),.asm)
$(error Unsupported file type: $o)
$(error Unsupported file type: $o)
endif
endif
endif
endif
$(base)$(objext): $o
$(base)$(objext): $o
        $(gcc_compile) -c -xassembler-with-cpp $<
        $(gcc_compile) -c -xassembler-with-cpp $<
endif
endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.