mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
b6781cdf0f
flash does nothing term starts the project with PORT misused for the tap interface PORT is unset if nativenet is not used
30 lines
595 B
Makefile
30 lines
595 B
Makefile
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
|
export CPU = native
|
|
|
|
# toolchain config
|
|
export PREFIX =
|
|
#export CC = $(PREFIX)gcc
|
|
export AR = $(PREFIX)ar
|
|
export CFLAGS += -std=gnu99 -Wall -Wextra -pedantic -m32
|
|
export ASFLAGS =
|
|
export AS = $(PREFIX)as
|
|
export LINK = $(PREFIX)gcc
|
|
export SIZE = $(PREFIX)size
|
|
export OBJCOPY = $(PREFIX)objcopy
|
|
|
|
LINKFLAGS += -m32 -gc -ldl
|
|
|
|
TERMPROG = $(BINDIR)/$(PROJECT).elf
|
|
FLASHER = true
|
|
|
|
|
|
ifneq (,$(findstring nativenet,$(USEMODULE)))
|
|
ifeq ($(strip $(PORT)),)
|
|
export PORT = tap0
|
|
endif
|
|
else
|
|
export PORT =
|
|
endif
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|