mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root `Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's `Makefile.include` was wrong, which caused e.g. `make buildsize` to fail.
This commit is contained in:
parent
50a07d9874
commit
1608fd1570
@ -16,7 +16,6 @@ export SIZE = $(PREFIX)size
|
||||
export OBJCOPY = $(PREFIX)objcopy
|
||||
export LINKFLAGS = -mmcu=$(MCU) -lgcc $(BINDIR)msp430_common/startup.o
|
||||
export FLASHER = mspdebug
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export USEMODULE += msp430_common
|
||||
export FFLAGS = rf2500 "prog $(HEXFILE)"
|
||||
export OFLAGS = -O ihex
|
||||
|
@ -17,10 +17,8 @@ LINKFLAGS = -mcpu=cortex-m3 -mthumb -Wl,--gc-sections,--cref -lc -lgcc -lnosys -
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export FFLAGS = $(HEXFILE)
|
||||
|
||||
export ELFFILE = bin/$(APPLICATION).elf
|
||||
export DEBUGGER_FLAGS = $(ELFFILE)
|
||||
|
||||
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include/ -I$(RIOTCPU)/$(CPU)/include
|
||||
|
@ -14,7 +14,6 @@ export SIZE = $(PREFIX)size
|
||||
export OBJCOPY = $(PREFIX)objcopy
|
||||
export LINKFLAGS = -mmcu=$(MCU) -lgcc
|
||||
TERMPROG = $(RIOTBASE)/dist/tools/pyterm/pyterm.py
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
|
||||
export FLASHER ?= mspdebug
|
||||
export PORT ?= /dev/ttyUSB0
|
||||
|
@ -19,7 +19,6 @@ LINKFLAGS = -gdwarf-2 -mcpu=arm7tdmi-s -static -lgcc -nostartfiles -T$(RIOTBASE)
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export FFLAGS = $(PORT) $(HEXFILE)
|
||||
include $(RIOTBOARD)/msba2-common/Makefile.dep
|
||||
|
||||
|
@ -24,7 +24,6 @@ LINKFLAGS = -mcpu=arm7tdmi-s -static -lgcc -nostartfiles -T$(RIOTBASE)/cpu/$(CPU
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)/$(APPLICATION).hex
|
||||
export FFLAGS = -t $(PORT) -f $(HEXFILE) -c 'bbmc -l redbee-econotag reset'
|
||||
export OFLAGS = -O binary --gap-fill=0xff
|
||||
|
||||
|
@ -19,7 +19,6 @@ export FLASHER = goodfet.bsl
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export FFLAGS = --telosb -c $(PORT) -r -e -I -p $(HEXFILE)
|
||||
|
||||
export INCLUDES += -I$(RIOTCPU)/msp430-common/include -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/drivers/cc2420/include -I$(RIOTBASE)/sys/net/include
|
||||
|
@ -17,7 +17,6 @@ export FLASHER = mspdebug
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export FFLAGS = -d $(PORT) -j uif "prog $(HEXFILE)"
|
||||
|
||||
export INCLUDES += -I$(RIOTBOARD)/wsn430-common/include
|
||||
|
@ -19,7 +19,6 @@ export FLASHER = goodfet.bsl
|
||||
ifeq ($(strip $(PORT)),)
|
||||
export PORT = /dev/ttyUSB0
|
||||
endif
|
||||
export HEXFILE = $(BINDIR)$(APPLICATION).hex
|
||||
export FFLAGS = --z1 -I -c $(PORT) -r -e -p $(HEXFILE)
|
||||
export OFLAGS = -O ihex
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user