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

Merge pull request #20703 from FlapKap/update-tfmicro

pkg/tflite-micro: add proper options to flatc
This commit is contained in:
Marian Buschsieweke 2024-05-28 11:48:09 +00:00 committed by GitHub
commit 2d1999a873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ all: $(TFLITE_MODULES_USED)
.PHONY: tflite-%
$(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema_generated.h: $(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema.fbs $(FLATC)
$(FLATC) --cpp -o "$(dir $@)" "$<"
$(FLATC) --cpp --reflect-types --reflect-names --no-union-value-namespacing --gen-object-api -o "$(dir $@)" "$<"
tflite-%: $(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema_generated.h
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/$(DIR_$@) -f $(CURDIR)/$@.mk