Skip to content

Commit 80a7cf8

Browse files
committed
pkg/tflite-micro: add proper options to flatc
1 parent 6d51de0 commit 80a7cf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tflite-micro/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ all: $(TFLITE_MODULES_USED)
4747
.PHONY: tflite-%
4848

4949
$(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema_generated.h: $(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema.fbs $(FLATC)
50-
$(FLATC) --cpp -o "$(dir $@)" "$<"
50+
$(FLATC) --cpp --reflect-types --reflect-names --no-union-value-namespacing --gen-object-api -o "$(dir $@)" "$<"
5151

5252
tflite-%: $(PKG_SOURCE_DIR)/tensorflow/lite/schema/schema_generated.h
5353
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/$(DIR_$@) -f $(CURDIR)/$@.mk

0 commit comments

Comments
 (0)