Skip to content
Snippets Groups Projects
Makefile.dep 1.96 KiB
Newer Older
  • Learn to ignore specific revisions
  • Martine Lenders's avatar
    Martine Lenders committed
    ifneq (,$(filter libcoap,$(USEPKG)))
    
    	USEMODULE += pnet
    
    Martine Lenders's avatar
    Martine Lenders committed
    endif
    
    
    ifneq (,$(filter pnet,$(USEMODULE)))
    
    	USEMODULE += posix
    
    	USEMODULE += socket_base
    
    	USEMODULE += net_help
    
    ifneq (,$(filter transport_layer,$(USEMODULE)))
    	USEMODULE += tcp
    	USEMODULE += udp
    endif
    
    ifneq (,$(filter udp,$(USEMODULE)))
    	USEMODULE += socket_base
    endif
    
    ifneq (,$(filter tcp,$(USEMODULE)))
    	USEMODULE += socket_base
    endif
    
    ifneq (,$(filter socket_base,$(USEMODULE)))
    
    	USEMODULE += sixlowpan
    	USEMODULE += net_help
    	USEMODULE += vtimer
    
    endif
    
    ifneq (,$(filter sixlowborder,$(USEMODULE)))
    
    	USEMODULE += sixlowpan
    
    
    ifneq (,$(filter rpl,$(USEMODULE)))
    
    	USEMODULE += routing
    
    endif
    
    ifneq (,$(filter routing,$(USEMODULE)))
    
    	USEMODULE += sixlowpan
    
    
    ifneq (,$(filter sixlowpan,$(USEMODULE)))
    
    	USEMODULE += ieee802154
    	USEMODULE += net_help
    	USEMODULE += net_if
    	USEMODULE += posix
    	USEMODULE += vtimer
    
    ifneq (,$(filter posix,$(USEMODULE)))
    
    	USEMODULE += uart0
    	USEMODULE += timex
    	USEMODULE += vtimer
    
    ifneq (,$(filter uart0,$(USEMODULE)))
    
    	USEMODULE += lib
    	USEMODULE += posix
    
    ifneq (,$(filter cbor,$(USEMODULE)))
    	USEMODULE += net_help
    endif
    
    
    ifneq (,$(filter cc110x%,$(USEMODULE)))
    
    	USEMODULE += protocol_multiplex
    	USEMODULE += vtimer
    
    ifneq (,$(filter cc110x_ng,$(USEMODULE)))
    
    	USEMODULE += transceiver
    
    Oleg Hahm's avatar
    Oleg Hahm committed
    
    
    ifneq (,$(filter cc2420,$(USEMODULE)))
    
    	USEMODULE += transceiver
    	USEMODULE += ieee802154
    
    Oleg Hahm's avatar
    Oleg Hahm committed
    endif
    
    
    ifneq (,$(filter at86rf231,$(USEMODULE)))
    
    	USEMODULE += transceiver
    	USEMODULE += ieee802154
    	USEMODULE += vtimer
    
    ifneq (,$(filter vtimer,$(USEMODULE)))
    
    	USEMODULE += timex
    
    Oleg Hahm's avatar
    Oleg Hahm committed
    endif
    
    Martine Lenders's avatar
    Martine Lenders committed
    
    ifneq (,$(filter net_if,$(USEMODULE)))
    
    	USEMODULE += transceiver
    
    	USEMODULE += net_help
    
    	USEMODULE += hashes
    
    Martine Lenders's avatar
    Martine Lenders committed
    endif
    
    ifneq (,$(filter ccn_lite,$(USEMODULE)))
    	USEMODULE += crypto
    endif
    
    
    ifneq (,$(filter rgbled,$(USEMODULE)))
    	USEMODULE += color
    endif
    
    
    ifneq (,$(filter pipe,$(USEMODULE)))
    	USEMODULE += lib
    endif
    
    
    ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
    	USEPKG += libfixmath
    endif