Skip to content
Snippets Groups Projects
Makefile.dep 3.18 KiB
Newer Older
  • Learn to ignore specific revisions
  • Martine Lenders's avatar
    Martine Lenders committed
    ifneq (,$(filter libcoap,$(USEPKG)))
    
    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 += trickle
      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 ng_ipv6_hdr,$(USEMODULE)))
      USEMODULE += ng_inet_csum
      USEMODULE += ng_pktbuf
    endif
    
    
    ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
    
      USEMODULE += ng_ipv6_addr
    
    ifneq (,$(filter ng_ipv6_netif,$(USEMODULE)))
      USEMODULE += ng_ipv6_addr
      USEMODULE += ng_netif
    endif
    
    
    ifneq (,$(filter ng_netbase,$(USEMODULE)))
    
      USEMODULE += ng_netapi
      USEMODULE += ng_netreg
    
      USEMODULE += ng_netif
    
      USEMODULE += ng_pktbuf
    
    ifneq (,$(filter ng_pktdump,$(USEMODULE)))
      USEMODULE += ng_pktbuf
    endif
    
    
    ifneq (,$(filter aodvv2,$(USEMODULE)))
    
      USEMODULE += vtimer
      USEMODULE += sixlowpan
      USEMODULE += oonf_common
      USEMODULE += oonf_rfc5444
    
    ifneq (,$(filter uart0,$(USEMODULE)))
    
    ifneq (,$(filter posix,$(USEMODULE)))
    
      USEMODULE += timex
      USEMODULE += vtimer
    
    ifneq (,$(filter cbor,$(USEMODULE)))
    
      USEMODULE += net_help
    
    ifneq (,$(filter cc110x%,$(USEMODULE)))
    
      USEMODULE += protocol_multiplex
      USEMODULE += vtimer
    
    ifneq (,$(filter cc110x,$(USEMODULE)))
    
      USEMODULE += transceiver
    
    ifneq (,$(filter cc110x_legacy,$(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 += netdev_802154
      USEMODULE += ieee802154
    
    ifneq (,$(filter l2_ping,$(USEMODULE)))
    
    ifneq (,$(filter vtimer,$(USEMODULE)))
    
    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)))
    
    ifneq (,$(filter netdev_802154,$(USEMODULE)))
    
      USEMODULE += netdev_base
    
    ifneq (,$(filter rgbled,$(USEMODULE)))
    
    ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
    
    
    ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
    
      FEATURES_REQUIRED += transceiver
    
    Fabian Nack's avatar
    Fabian Nack committed
    
    ifneq (,$(filter nhdp,$(USEMODULE)))
    
      USEMODULE += vtimer
      USEMODULE += oonf_common
      USEMODULE += oonf_rfc5444
    
    Fabian Nack's avatar
    Fabian Nack committed
    endif
    
    
    ifneq (,$(filter fib,$(USEMODULE)))
      USEMODULE += timex
      USEMODULE += vtimer
      USEMODULE += net_help
    endif
    
    
    ifneq (,$(filter oonf_common,$(USEMODULE)))
    
      USEPKG += oonf_api
    
      USEMODULE += socket_base
    endif