From 56a884ab31240237de50f78b5d67f49485f63407 Mon Sep 17 00:00:00 2001
From: Robert Nelson <robertcnelson@gmail.com>
Date: Fri, 14 Apr 2023 15:33:22 -0500
Subject: [PATCH] i-tensorflow-src-8.6 (8.6.0.0)

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
---
 .../suite/bullseye/debian/changelog           |  6 +++++
 .../suite/bullseye/debian/compat              |  1 +
 .../suite/bullseye/debian/control             | 17 ++++++++++++++
 .../suite/bullseye/debian/install             |  1 +
 .../suite/bullseye/debian/rules               | 22 +++++++++++++++++++
 ti-tensorflow-src-8.6/version.sh              | 22 +++++++++++++++++++
 6 files changed, 69 insertions(+)
 create mode 100644 ti-tensorflow-src-8.6/suite/bullseye/debian/changelog
 create mode 100644 ti-tensorflow-src-8.6/suite/bullseye/debian/compat
 create mode 100644 ti-tensorflow-src-8.6/suite/bullseye/debian/control
 create mode 100644 ti-tensorflow-src-8.6/suite/bullseye/debian/install
 create mode 100755 ti-tensorflow-src-8.6/suite/bullseye/debian/rules
 create mode 100644 ti-tensorflow-src-8.6/version.sh

diff --git a/ti-tensorflow-src-8.6/suite/bullseye/debian/changelog b/ti-tensorflow-src-8.6/suite/bullseye/debian/changelog
new file mode 100644
index 000000000..eec311214
--- /dev/null
+++ b/ti-tensorflow-src-8.6/suite/bullseye/debian/changelog
@@ -0,0 +1,6 @@
+ti-tensorflow-src-8.6 (8.6.0.0-0~bullseye+20230414) bullseye; urgency=low
+
+  * Rebuild for repos.rcn-ee.com
+
+ -- Robert Nelson <robertcnelson@gmail.com>  Fri, 14 Apr 2023 15:33:13 -0500
+
diff --git a/ti-tensorflow-src-8.6/suite/bullseye/debian/compat b/ti-tensorflow-src-8.6/suite/bullseye/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/ti-tensorflow-src-8.6/suite/bullseye/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/ti-tensorflow-src-8.6/suite/bullseye/debian/control b/ti-tensorflow-src-8.6/suite/bullseye/debian/control
new file mode 100644
index 000000000..fbe7929e4
--- /dev/null
+++ b/ti-tensorflow-src-8.6/suite/bullseye/debian/control
@@ -0,0 +1,17 @@
+Source: ti-tensorflow-src-8.6
+Section: misc
+Priority: optional
+Maintainer: Robert Nelson <robertcnelson@gmail.com>
+Build-Depends:
+ debhelper (>= 9)
+ , ca-certificates
+ , git
+ , unzip
+Standards-Version: 4.5.1
+
+Package: ti-tensorflow-src-8.6
+Architecture: arm64
+Depends:
+ ${misc:Depends}
+Description: TI tensorflow 8.6 src
+ TI tensorflow 8.6 src /opt/tensorflow
diff --git a/ti-tensorflow-src-8.6/suite/bullseye/debian/install b/ti-tensorflow-src-8.6/suite/bullseye/debian/install
new file mode 100644
index 000000000..5aa940d06
--- /dev/null
+++ b/ti-tensorflow-src-8.6/suite/bullseye/debian/install
@@ -0,0 +1 @@
+tmp/opt/tensorflow/* /opt/tensorflow
diff --git a/ti-tensorflow-src-8.6/suite/bullseye/debian/rules b/ti-tensorflow-src-8.6/suite/bullseye/debian/rules
new file mode 100755
index 000000000..4eb92f34f
--- /dev/null
+++ b/ti-tensorflow-src-8.6/suite/bullseye/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+wfile="v1.12.0.tar.gz"
+#https://git.ti.com/gitweb?p=jacinto-linux/meta-psdkla.git;a=blob;f=recipes-tisdk/ti-tidl/ti-tidl.bb;h=5fb0a01691f694adc2a9e0e58d294dc72c51361a;hb=HEAD
+#git://github.com/TexasInstruments/tensorflow;branch=tidl-j7-2.8;rev=233657497d2735cae9e840df9e650e268149070d;protocol=https;name=tensorflow;destsuffix=${S}/tensorflow  \
+
+# Disable dh_strip
+override_dh_strip:
+
+# Disable dh_strip_nondeterminism
+override_dh_strip_nondeterminism:
+
+override_dh_auto_configure:
+	mkdir -p ./tmp/opt/ ; git clone --single-branch --branch TIDL_PSDK_8.4 --depth 1 https://github.com/TexasInstruments/tensorflow.git ./tmp/opt/tensorflow/ ; mkdir -p ./tmp/opt/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers ; tar xf ./debian/$(wfile) --strip-components=1 -C ./tmp/opt/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers
+	cd ./tmp/opt/tensorflow/ ; find . | grep .git | xargs rm -rf
+
+%:
+	dh $@
diff --git a/ti-tensorflow-src-8.6/version.sh b/ti-tensorflow-src-8.6/version.sh
new file mode 100644
index 000000000..455cacf9e
--- /dev/null
+++ b/ti-tensorflow-src-8.6/version.sh
@@ -0,0 +1,22 @@
+#!/bin/bash -e
+
+package_name="ti-tensorflow-src-8.6"
+debian_pkg_name="${package_name}"
+package_version="8.6.0.0"
+package_source=""
+src_dir=""
+
+git_repo=""
+git_sha=""
+reprepro_dir="t/${package_name}"
+dl_path="pool/main/${reprepro_dir}/"
+
+debian_version="${package_version}-0"
+debian_untar=""
+debian_patch=""
+
+debian_dl_1="https://github.com/google/flatbuffers/archive/v1.12.0.tar.gz"
+
+clear_changelog="enable"
+
+bullseye_version="~bullseye+20230414"
-- 
GitLab