Merge pull request #2009 from thomaseichinger/native-fix

native: fix Makefiles for OSX
This commit is contained in:
Ludwig Ortmann 2014-11-13 09:28:24 -08:00
commit 6fea1b9f29
2 changed files with 7 additions and 2 deletions

View File

@ -16,7 +16,12 @@ export AR ?= $(PREFIX)ar
export AS ?= $(PREFIX)as
export LINK ?= $(PREFIX)gcc
export SIZE ?= $(PREFIX)size
export OBJCOPY = $(PREFIX)objcopy
ifneq ($(shell uname -s),Darwin)
export OBJCOPY ?= $(PREFIX)objcopy
else
export OBJCOPY ?= $(PREFIX)gobjcopy
export OFLAGS ?= -O ihex
endif
export DEBUGGER = gdb
export TERMPROG = $(ELF)

View File

@ -1,2 +1,2 @@
export NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
export USEMODULE += periph drivers
export USEMODULE += periph