diff --git a/Makefile.template b/Makefile.template index 223d045bf75..6e0c29590c7 100644 --- a/Makefile.template +++ b/Makefile.template @@ -167,9 +167,12 @@ ifeq (,$(findstring android,$(TARGET_OS))) @mkdir -p ${OVERLAY_FOLDER}/include/nncc/core/ADT/tensor @mkdir -p ${OVERLAY_FOLDER}/include/oops @mkdir -p ${OVERLAY_FOLDER}/include/luci/IR + @mkdir -p ${OVERLAY_FOLDER}/include/mio/circle @cp compiler/angkor/include/nncc/core/ADT/tensor/Index.h ${OVERLAY_FOLDER}/include/nncc/core/ADT/tensor @cp compiler/oops/include/oops/InternalExn.h ${OVERLAY_FOLDER}/include/oops @cp compiler/luci/lang/include/luci/IR/CircleNodes.lst ${OVERLAY_FOLDER}/include/luci/IR + @cp ${NNCC_WORKSPACE}/compiler/mio-circle08/gen/mio/circle/schema_generated.h ${OVERLAY_FOLDER}/include/mio/circle + @cp -r ${NNCC_WORKSPACE}/overlay/include/flatbuffers ${OVERLAY_FOLDER}/include @echo "Done prepare-nncc" endif diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec index 95d9c026962..97b6cea9f7a 100644 --- a/packaging/nnfw.spec +++ b/packaging/nnfw.spec @@ -202,9 +202,12 @@ cmake --install %{nncc_workspace} %{strip_options} mkdir -p %{overlay_path}/include/nncc/core/ADT/tensor mkdir -p %{overlay_path}/include/oops mkdir -p %{overlay_path}/include/luci/IR +mkdir -p %{overlay_path}/include/mio/circle cp compiler/angkor/include/nncc/core/ADT/tensor/Index.h %{overlay_path}/include/nncc/core/ADT/tensor cp compiler/oops/include/oops/InternalExn.h %{overlay_path}/include/oops cp compiler/luci/lang/include/luci/IR/CircleNodes.lst %{overlay_path}/include/luci/IR +cp %{nncc_workspace}/compiler/mio-circle08/gen/mio/circle/schema_generated.h %{overlay_path}/include/mio/circle +cp -r %{nncc_workspace}/overlay/include/flatbuffers %{overlay_path}/include # runtime build %{build_env} ./nnfw configure %{build_options}