1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #4238 from authmillenon/shell_command/fix/zep-deps

shell_command: only include sc_zep.c when gnrc_zep AND ipv6_addr are present
This commit is contained in:
Cenk Gündoğan 2015-11-12 10:16:57 +01:00
commit f7934e336a

View File

@ -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