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 += evtimer
USEMODULE += random
USEMODULE += timex
USEMODULE += posix_headers
endif
USEMODULE += ccn-lite-utils
USEMODULE += evtimer
USEMODULE += random
USEMODULE += timex
USEMODULE += posix_headers

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-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 += jerryscript-ext
endif
USEMODULE += jerryport-minimal
USEMODULE += jerryscript-ext
# Jerryscript is only supported by 32-bit architectures
FEATURES_REQUIRED += arch_32bit

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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