Blame view

RIOT/Makefile.modules 493 Bytes
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
  USEMODULE := $(filter-out $(filter-out $(FEATURES_PROVIDED), $(FEATURES_OPTIONAL)), $(sort $(USEMODULE)))
  
  ED = $(addprefix FEATURE_,$(sort $(filter $(FEATURES_PROVIDED), $(FEATURES_REQUIRED))))
  ED += $(addprefix MODULE_,$(sort $(USEMODULE) $(USEPKG)))
  EXTDEFINES = $(addprefix -D,$(shell echo '$(ED)' | tr 'a-z-' 'A-Z_'))
  REALMODULES = $(filter-out $(PSEUDOMODULES), $(sort $(USEMODULE) $(USEPKG)))
  export BASELIBS += $(REALMODULES:%=$(BINDIR)/%.a)
  
  CFLAGS += $(EXTDEFINES)
  
  export USEMODULE