2017-02-25 15:41:39 +01:00
|
|
|
PKG_BUILDDIR ?= $(PKGDIRBASE)/emb6
|
2016-01-11 15:39:21 +01:00
|
|
|
EMB6_DIR := $(PKG_BUILDDIR)
|
2016-02-01 14:31:54 +01:00
|
|
|
EMB6_CONTRIB := $(RIOTBASE)/pkg/emb6/contrib
|
2016-01-11 15:39:21 +01:00
|
|
|
|
2016-02-01 14:31:54 +01:00
|
|
|
INCLUDES += -I$(PKG_BUILDDIR)/target
|
|
|
|
INCLUDES += -I$(RIOTBASE)/pkg/emb6/include
|
2016-01-11 15:39:21 +01:00
|
|
|
|
make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-10-31 11:52:18 +01:00
|
|
|
CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-type-limits
|
|
|
|
CFLAGS += -Wno-sign-compare -Wno-missing-field-initializers
|
|
|
|
|
2016-01-11 15:39:21 +01:00
|
|
|
ifeq (,$(filter emb6_router,$(USEMODULE)))
|
|
|
|
CFLAGS += -DEMB6_CONF_ROUTER=FALSE
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_bsp,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/target/bsp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_common,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6
|
|
|
|
endif
|
|
|
|
|
2016-02-01 14:31:54 +01:00
|
|
|
ifneq (,$(filter emb6_contrib,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_CONTRIB)
|
|
|
|
endif
|
|
|
|
|
2016-01-11 15:39:21 +01:00
|
|
|
ifneq (,$(filter emb6_ipv6,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/net/ipv6
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_ipv6_multicast,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/net/ipv6/multicast
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6/multicast
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_llsec,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/mac/llsec
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac/llsec
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_mac,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/mac
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac
|
|
|
|
endif
|
|
|
|
|
2017-02-15 13:07:34 +01:00
|
|
|
ifneq (,$(filter emb6_netdev,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_CONTRIB)/netdev
|
2016-01-29 15:18:30 +01:00
|
|
|
endif
|
|
|
|
|
2016-01-11 15:39:21 +01:00
|
|
|
ifneq (,$(filter emb6_rpl,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/net/rpl
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/rpl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_sicslowpan,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/net/sicslowpan
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/sicslowpan
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter emb6_sock,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/emb6/src/tport
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/emb6/inc/tport
|
|
|
|
endif
|
|
|
|
|
2016-10-27 17:49:34 +02:00
|
|
|
ifneq (,$(filter emb6_sock_udp,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_CONTRIB)/sock/udp
|
|
|
|
CFLAGS += -DSOCK_HAS_IPV6
|
|
|
|
endif
|
|
|
|
|
2016-01-11 15:39:21 +01:00
|
|
|
ifneq (,$(filter emb6_utils,$(USEMODULE)))
|
|
|
|
DIRS += $(EMB6_DIR)/utils/src
|
|
|
|
INCLUDES += -I$(EMB6_DIR)/utils/inc
|
|
|
|
endif
|