2017-11-24 22:31:37 +01:00
|
|
|
PKG_NAME=gecko_sdk
|
|
|
|
PKG_URL=https://github.com/basilfx/RIOT-gecko-sdk
|
2022-06-18 14:21:52 +02:00
|
|
|
PKG_VERSION=944639a57adce84fb110fe89e54f50e161607918
|
2017-11-24 22:31:37 +01:00
|
|
|
PKG_LICENSE=Zlib
|
|
|
|
|
2019-10-02 12:47:02 +02:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
|
2017-11-24 22:31:37 +01:00
|
|
|
ifneq ($(CPU),efm32)
|
|
|
|
$(error This package can only be used with EFM32 CPUs)
|
|
|
|
endif
|
|
|
|
|
2018-08-05 15:28:06 +02:00
|
|
|
ifneq (llvm,$(TOOLCHAIN))
|
|
|
|
CFLAGS += -Wno-int-in-bool-context
|
|
|
|
endif
|
2018-02-21 11:25:20 +01:00
|
|
|
|
2020-11-20 10:41:46 +01:00
|
|
|
# Disable -Wcast-align for this package, as source contains cast that increase
|
|
|
|
# alignment requirements. Let's hope those are false positives and proper
|
|
|
|
# alignment is assured.
|
|
|
|
CFLAGS += -Wno-cast-align
|
|
|
|
|
2019-06-27 15:18:37 +02:00
|
|
|
all:
|
2021-03-12 15:50:14 +01:00
|
|
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/dist
|