mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
pkg/tflite-micro: add proper options to flatc
This commit is contained in:
parent
6d51de0c39
commit
80a7cf86ca
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user