Skip to content

Commit

Permalink
Merge pull request RIOT-OS#4238 from authmillenon/shell_command/fix/z…
Browse files Browse the repository at this point in the history
…ep-deps

shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
  • Loading branch information
cgundogan committed Nov 12, 2015
2 parents 989def2 + fe94aa0 commit f7934e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sys/shell/commands/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ endif
ifneq (,$(filter gnrc_icmpv6_echo xtimer,$(USEMODULE)))
SRC += sc_icmpv6_echo.c
endif
ifneq (,$(filter gnrc_zep ipv6_addr,$(USEMODULE)))
SRC += sc_zep.c
ifneq (,$(filter gnrc_zep,$(USEMODULE)))
ifneq (,$(filter ipv6_addr,$(USEMODULE)))
SRC += sc_zep.c
endif
endif
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
SRC += sc_gnrc_rpl.c
Expand Down

0 comments on commit f7934e3

Please sign in to comment.