cpu/mips: remove use of export for LINKFLAGS
This commit is contained in:
parent
410dfbe7c7
commit
1e8528d6e8
@ -9,7 +9,7 @@ export USEMODULE += periph_timer
|
|||||||
|
|
||||||
ifeq ($(USE_UHI_SYSCALLS),1)
|
ifeq ($(USE_UHI_SYSCALLS),1)
|
||||||
#Use UHI to handle syscalls
|
#Use UHI to handle syscalls
|
||||||
export LINKFLAGS += -luhi
|
LINKFLAGS += -luhi
|
||||||
export USEMODULE += newlib_syscalls_mips_uhi
|
export USEMODULE += newlib_syscalls_mips_uhi
|
||||||
CFLAGS += -DHAVE_HEAP_STATS
|
CFLAGS += -DHAVE_HEAP_STATS
|
||||||
else
|
else
|
||||||
|
|||||||
@ -6,8 +6,8 @@ include $(RIOTMAKE)/arch/mips.inc.mk
|
|||||||
# define build specific options
|
# define build specific options
|
||||||
CFLAGS += -march=m4k -DSKIP_COPY_TO_RAM
|
CFLAGS += -march=m4k -DSKIP_COPY_TO_RAM
|
||||||
|
|
||||||
export LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
|
LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
|
||||||
export LINKFLAGS += -Tpic32mx512_12_128_uhi.ld
|
LINKFLAGS += -Tpic32mx512_12_128_uhi.ld
|
||||||
|
|
||||||
# the pickit programmer (MPLAB-IPE) wants physical addresses in the hex file!!
|
# the pickit programmer (MPLAB-IPE) wants physical addresses in the hex file!!
|
||||||
OBJCOPY = objcopy #use system objcopy as toolchain one is broken.
|
OBJCOPY = objcopy #use system objcopy as toolchain one is broken.
|
||||||
|
|||||||
@ -7,8 +7,8 @@ include $(RIOTMAKE)/arch/mips.inc.mk
|
|||||||
CFLAGS += -march=m5101 -mmicromips -DSKIP_COPY_TO_RAM
|
CFLAGS += -march=m5101 -mmicromips -DSKIP_COPY_TO_RAM
|
||||||
CFLAGS += -DMIPS_MICROMIPS
|
CFLAGS += -DMIPS_MICROMIPS
|
||||||
|
|
||||||
export LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
|
LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
|
||||||
export LINKFLAGS += -Tpic32mz2048_uhi.ld
|
LINKFLAGS += -Tpic32mz2048_uhi.ld
|
||||||
|
|
||||||
# the pickit programmer (MPLAB-IPE) wants physical addresses in the hex file!!
|
# the pickit programmer (MPLAB-IPE) wants physical addresses in the hex file!!
|
||||||
OBJCOPY = objcopy #use system objcopy as toolchain one is broken.
|
OBJCOPY = objcopy #use system objcopy as toolchain one is broken.
|
||||||
|
|||||||
@ -45,7 +45,7 @@ ifeq ($(USE_HARD_FLOAT),1)
|
|||||||
else
|
else
|
||||||
#hard-float is the default so we must set soft-float
|
#hard-float is the default so we must set soft-float
|
||||||
CFLAGS += -msoft-float
|
CFLAGS += -msoft-float
|
||||||
export LINKFLAGS += -msoft-float
|
LINKFLAGS += -msoft-float
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(USE_DSP),1)
|
ifeq ($(USE_DSP),1)
|
||||||
@ -60,10 +60,10 @@ endif
|
|||||||
|
|
||||||
ASFLAGS += $(CFLAGS_CPU) $(CFLAGS_OPT) $(CFLAGS_DBG)
|
ASFLAGS += $(CFLAGS_CPU) $(CFLAGS_OPT) $(CFLAGS_DBG)
|
||||||
|
|
||||||
export LINKFLAGS += $(MIPS_HAL_LDFLAGS)
|
LINKFLAGS += $(MIPS_HAL_LDFLAGS)
|
||||||
export LINKFLAGS += -L$(RIOTCPU)/$(CPU)/ldscripts
|
LINKFLAGS += -L$(RIOTCPU)/$(CPU)/ldscripts
|
||||||
export LINKFLAGS += $(CFLAGS_CPU) $(CFLAGS_DBG) $(CFLAGS_OPT)
|
LINKFLAGS += $(CFLAGS_CPU) $(CFLAGS_DBG) $(CFLAGS_OPT)
|
||||||
export LINKFLAGS += -Wl,--gc-sections
|
LINKFLAGS += -Wl,--gc-sections
|
||||||
|
|
||||||
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-overflow
|
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-overflow
|
||||||
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-truncation
|
OPTIONAL_CFLAGS_BLACKLIST += -Wformat-truncation
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user