diff --git a/pkg/tflite-micro/Makefile b/pkg/tflite-micro/Makefile index cc39303e28..d3504e41fd 100644 --- a/pkg/tflite-micro/Makefile +++ b/pkg/tflite-micro/Makefile @@ -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