Blame view

RIOT/makefiles/toolchain/gnu.inc.mk 583 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  export CC         = $(PREFIX)gcc
  export CXX        = $(PREFIX)g++
  export CCAS      ?= $(CC)
  ifeq ($(LTO),1)
  export AR         = $(PREFIX)gcc-ar
  else
  export AR         = $(PREFIX)ar
  endif
  export AS         = $(PREFIX)as
  export LINK       = $(PREFIX)gcc
  export SIZE       = $(PREFIX)size
  export OBJCOPY   ?= $(shell command -v $(PREFIX)objcopy gobjcopy objcopy | head -n 1)
  ifeq ($(OBJCOPY),)
  $(warning objcopy not found. Hex file will not be created.)
  export OBJCOPY    = true
  endif
  export OBJDUMP    = $(PREFIX)objdump
  # We use GDB for debugging
  include $(RIOTMAKE)/tools/gdb.inc.mk