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

Merge pull request #12735 from aabadie/pr/pkg/cleanup_makefiles

pkg: cleanup management of dependencies
This commit is contained in:
benpicco 2019-11-20 01:43:26 +01:00 committed by GitHub
commit d91b756d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 42 deletions

View File

@ -1,7 +1,5 @@
ifneq (,$(filter ccn-lite,$(USEPKG))) USEMODULE += ccn-lite-utils
USEMODULE += ccn-lite-utils USEMODULE += evtimer
USEMODULE += evtimer USEMODULE += random
USEMODULE += random USEMODULE += timex
USEMODULE += timex USEMODULE += posix_headers
USEMODULE += posix_headers
endif

View File

@ -0,0 +1,2 @@
USEMODULE += gecko_sdk_emlib
USEMODULE += gecko_sdk_emlib_extra

View File

@ -1,5 +1,2 @@
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib/inc INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib/inc
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib-extra/inc INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib-extra/inc
USEMODULE += gecko_sdk_emlib
USEMODULE += gecko_sdk_emlib_extra

View File

@ -1,7 +1,5 @@
ifneq (,$(filter jerryscript,$(USEPKG))) USEMODULE += jerryport-minimal
USEMODULE += jerryport-minimal USEMODULE += jerryscript-ext
USEMODULE += jerryscript-ext
endif
# Jerryscript is only supported by 32-bit architectures # Jerryscript is only supported by 32-bit architectures
FEATURES_REQUIRED += arch_32bit FEATURES_REQUIRED += arch_32bit

View File

@ -1,8 +1,6 @@
ifneq (,$(filter libcoap,$(USEPKG))) USEMODULE += posix_sockets
USEMODULE += posix_sockets USEMODULE += posix_headers
USEMODULE += posix_headers USEMODULE += gnrc_sock_udp
USEMODULE += gnrc_sock_udp
endif
# libcoap is only supported by 32 bit architectures # libcoap is only supported by 32 bit architectures
FEATURES_REQUIRED += arch_32bit FEATURES_REQUIRED += arch_32bit

View File

@ -0,0 +1 @@
USEMODULE += ndn-encoding

View File

@ -1,2 +1 @@
INCLUDES += -I$(PKGDIRBASE) INCLUDES += -I$(PKGDIRBASE)
USEMODULE += ndn-encoding

View File

@ -1,11 +1,7 @@
ifneq (,$(filter openthread,$(USEPKG))) USEMODULE += openthread_contrib
USEMODULE += openthread_contrib USEMODULE += mbedcrypto
USEMODULE += mbedcrypto
endif
ifneq (,$(filter openthread_contrib,$(USEMODULE))) USEMODULE += openthread_contrib_netdev
USEMODULE += openthread_contrib_netdev USEMODULE += l2util
USEMODULE += l2util USEMODULE += xtimer
USEMODULE += xtimer FEATURES_REQUIRED += cpp
FEATURES_REQUIRED += cpp
endif

View File

@ -1,13 +1,9 @@
ifneq (,$(filter tinydtls,$(USEPKG))) USEMODULE += tinydtls
USEMODULE += tinydtls
endif
ifneq (,$(filter tinydtls,$(USEMODULE))) USEMODULE += memarray
USEMODULE += memarray USEMODULE += hashes
USEMODULE += hashes USEMODULE += tinydtls_aes
USEMODULE += tinydtls_aes USEMODULE += tinydtls_ecc
USEMODULE += tinydtls_ecc
endif
# TinyDTLS only has support for 32-bit architectures ATM # TinyDTLS only has support for 32-bit architectures ATM
FEATURES_REQUIRED += arch_32bit FEATURES_REQUIRED += arch_32bit

View File

@ -1,3 +1 @@
ifneq (,$(filter umorse,$(USEPKG))) USEMODULE += posix_time
USEMODULE += posix_time
endif