1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

native: fix Makefiles for OSX

This commit is contained in:
Thomas Eichinger 2014-11-13 16:00:52 +01:00
parent d9e4fc6c14
commit 2382a4d320
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