1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/gecko_sdk/Makefile
2022-02-17 10:54:04 +01:00

23 lines
578 B
Makefile

PKG_NAME=gecko_sdk
PKG_URL=https://github.com/basilfx/RIOT-gecko-sdk
PKG_VERSION=e291e7e0bb56d3f51f03ef7c0b8af138a8d1301a
PKG_LICENSE=Zlib
include $(RIOTBASE)/pkg/pkg.mk
ifneq ($(CPU),efm32)
$(error This package can only be used with EFM32 CPUs)
endif
ifneq (llvm,$(TOOLCHAIN))
CFLAGS += -Wno-int-in-bool-context
endif
# 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
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/dist