Blame view

RIOT/sys/shell/commands/Makefile 1.88 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
  MODULE = shell_commands
  
  SRC = shell_commands.c sc_sys.c
  
  ifneq (,$(filter mci,$(USEMODULE)))
    SRC += sc_disk.c
  endif
  ifneq (,$(filter ps,$(USEMODULE)))
    SRC += sc_ps.c
  endif
  ifneq (,$(filter sht11,$(USEMODULE)))
    SRC += sc_sht11.c
  endif
  ifneq (,$(filter lpc2387,$(USEMODULE)))
    SRC += sc_heap.c
  endif
  ifneq (,$(filter random,$(USEMODULE)))
    SRC += sc_random.c
  endif
  ifeq ($(CPU),x86)
    SRC += sc_x86_lspci.c
  endif
  ifneq (,$(filter at30tse75x,$(USEMODULE)))
      SRC += sc_at30tse75x.c
  endif
  ifneq (,$(filter gnrc_netif,$(USEMODULE)))
    SRC += sc_netif.c
  endif
  ifneq (,$(filter gnrc_netif2,$(USEMODULE)))
    SRC += sc_gnrc_netif2.c
  endif
  ifneq (,$(filter fib,$(USEMODULE)))
    SRC += sc_fib.c
  endif
  ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE)))
    SRC += sc_ipv6_nc.c
  endif
  ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
    SRC += sc_gnrc_ipv6_nib.c
  endif
  ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE)))
    SRC += sc_whitelist.c
  endif
  ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
    SRC += sc_blacklist.c
  endif
  # The ping command in sc_icmpv6_echo requires xtimer, too. However, this is
  # implicitly pulled in by gnrc_ipv6_netif (which is a dependency of gnrc_ipv6)
  # already.
  ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
    SRC += sc_icmpv6_echo.c
  endif
  ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
      SRC += sc_gnrc_rpl.c
  endif
  ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
  ifneq (,$(filter gnrc_sixlowpan_nd_border_router,$(USEMODULE)))
      SRC += sc_gnrc_6ctx.c
  endif
  endif
  ifneq (,$(filter saul_reg,$(USEMODULE)))
    SRC += sc_saul_reg.c
  endif
  ifneq (,$(filter ccn-lite-utils,$(USEMODULE)))
    SRC += sc_ccnl.c
  endif
  ifneq (,$(filter sntp,$(USEMODULE)))
    SRC += sc_sntp.c
  endif
  ifneq (,$(filter vfs,$(USEMODULE)))
    SRC += sc_vfs.c
  endif
  ifneq (,$(filter conn_can,$(USEMODULE)))
    SRC += sc_can.c
  endif
  
  ifneq (,$(filter periph_rtc,$(FEATURES_PROVIDED)))
    SRC += sc_rtc.c
  endif
  
  include $(RIOTBASE)/Makefile.base