From aecb4b03ccec8b1f2d30cd5d68b2c2536125973f Mon Sep 17 00:00:00 2001 From: Fredrik Osterlind Date: Tue, 31 Jan 2012 14:53:52 +0100 Subject: [PATCH] bug fix: rpl was not included correctly --- platform/cooja/Makefile.cooja | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platform/cooja/Makefile.cooja b/platform/cooja/Makefile.cooja index bd5ea1b92..61c958735 100644 --- a/platform/cooja/Makefile.cooja +++ b/platform/cooja/Makefile.cooja @@ -88,6 +88,14 @@ ifdef WITH_UIP CFLAGS += -DWITH_UIP=1 endif +## Copied from Makefile.include, since Cooja overrides CFLAGS et al +ifdef UIP_CONF_IPV6 + CFLAGS += -DUIP_CONF_IPV6=1 + ifneq ($(UIP_CONF_RPL),0) + CFLAGS += -DUIP_CONF_IPV6_RPL=1 + endif # UIP_CONF_RPL +endif # UIP_CONF_IPV6 + REDEF_PRINTF=1 # Redefine functions to enable printf()s inside Cooja ### Define custom targets