2019-11-27 11:54:18 +01:00
|
|
|
INCLUDES += -I$(PKGDIRBASE)/flatbuffers/include
|
|
|
|
|
|
|
|
FLATC ?= flatc
|
|
|
|
|
2021-09-03 11:27:03 +02:00
|
|
|
ifneq (0,$(shell which flatc > /dev/null 2>&1 ; echo $$?))
|
2019-11-27 11:54:18 +01:00
|
|
|
FLATC = $(RIOTTOOLS)/flatc/flatc
|
|
|
|
$(call target-export-variables,all,FLATC)
|
|
|
|
endif
|
|
|
|
|
2020-06-03 15:44:06 +02:00
|
|
|
# This package is a header only package, so there's nothing to build
|
|
|
|
PSEUDOMODULES += flatbuffers
|
2023-05-22 09:34:23 +02:00
|
|
|
|
|
|
|
# LLVM requires an upgrade of flatbuffers, but this breaks pkg/tflite-micro.
|
|
|
|
# Until this is resolved, LLVM is blacklisted
|
|
|
|
TOOLCHAINS_BLACKLIST += llvm
|