Blame view

RIOT/cpu/kinetis_common/Makefile.include 908 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
20
21
22
23
24
25
  # include module specific includes
  export INCLUDES += -I$(RIOTCPU)/kinetis_common/include
  
  # Add search path for linker scripts
  export LINKFLAGS += -L$(RIOTCPU)/kinetis_common/ldscripts
  
  # Use generic linkerscripts for all Kinetis based CPUs
  export LINKER_SCRIPT ?= $(LD_$(shell echo $(CPU_MODEL) | tr a-z A-Z))
  
  # add the CPU specific code for the linker
  export UNDEF += $(BINDIR)/kinetis_common/fcfield.o
  
  # include kinetis common periph drivers
  export USEMODULE += kinetis_common_periph
  export USEMODULE += periph_common
  
  #include layered power mode module
  USEMODULE += pm_layered
  
  # Define a recipe to build the watchdog disable binary, used when flashing
  $(RIOTCPU)/kinetis_common/dist/wdog-disable.bin: $(RIOTCPU)/kinetis_common/dist/wdog-disable.s
  	$(Q)$(MAKE) -C $(RIOTCPU)/kinetis_common/dist/ $(notdir $@)
  
  # Reset the default goal to not make wdog-disable.bin the default target.
  .DEFAULT_GOAL :=