From a8528a9e94f91c22803050d2949dc1d58aeeff89 Mon Sep 17 00:00:00 2001
From: "Igor Zalatov (from Citadel PC)" <flyrouter@gmail.com>
Date: Sun, 13 Nov 2022 17:29:51 +0300
Subject: [PATCH] Putting some projects in order

---
 .../configs/hi3518ev200_cip37210_defconfig                 | 1 +
 .../configs/unknown_unknown_hi3518ev200_cip37210_defconfig | 1 -
 .../configs/hi3518ev200_openipc_defconfig                  | 1 +
 ...smarthome_defconfig => hi3518ev200_smarthome_defconfig} | 0
 .../configs/unknown_unknown_hi3518ev200_openipc_defconfig  | 1 -
 ...13e_blackbird_defconfig => msc313e_blackbird_defconfig} | 0
 ...unknown_t31_baresip_defconfig => t31_baresip_defconfig} | 0
 stapler                                                    | 7 +++----
 8 files changed, 5 insertions(+), 6 deletions(-)
 create mode 120000 projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/hi3518ev200_cip37210_defconfig
 delete mode 120000 projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_cip37210_defconfig
 create mode 120000 projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_openipc_defconfig
 rename projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/{unknown_unknown_hi3518ev200_smarthome_defconfig => hi3518ev200_smarthome_defconfig} (100%)
 delete mode 120000 projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_openipc_defconfig
 rename projects/msc313e_blackbird/br-ext-chip-sigmastar/configs/{unknown_unknown_msc313e_blackbird_defconfig => msc313e_blackbird_defconfig} (100%)
 rename projects/t31_baresip/br-ext-chip-ingenic/configs/{unknown_unknown_t31_baresip_defconfig => t31_baresip_defconfig} (100%)

diff --git a/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/hi3518ev200_cip37210_defconfig b/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/hi3518ev200_cip37210_defconfig
new file mode 120000
index 0000000..cd9dea2
--- /dev/null
+++ b/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/hi3518ev200_cip37210_defconfig
@@ -0,0 +1 @@
+hi3518ev200_openipc_defconfig
\ No newline at end of file
diff --git a/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_cip37210_defconfig b/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_cip37210_defconfig
deleted file mode 120000
index 74c3a64..0000000
--- a/projects/hi3518ev200_cip37210/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_cip37210_defconfig
+++ /dev/null
@@ -1 +0,0 @@
-unknown_unknown_hi3518ev200_openipc_defconfig
\ No newline at end of file
diff --git a/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_openipc_defconfig b/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_openipc_defconfig
new file mode 120000
index 0000000..60999a9
--- /dev/null
+++ b/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_openipc_defconfig
@@ -0,0 +1 @@
+hi3518ev200_smarthome_defconfig
\ No newline at end of file
diff --git a/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_smarthome_defconfig b/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_smarthome_defconfig
similarity index 100%
rename from projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_smarthome_defconfig
rename to projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/hi3518ev200_smarthome_defconfig
diff --git a/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_openipc_defconfig b/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_openipc_defconfig
deleted file mode 120000
index 5daabcf..0000000
--- a/projects/hi3518ev200_smarthome/br-ext-chip-hisilicon/configs/unknown_unknown_hi3518ev200_openipc_defconfig
+++ /dev/null
@@ -1 +0,0 @@
-unknown_unknown_hi3518ev200_smarthome_defconfig
\ No newline at end of file
diff --git a/projects/msc313e_blackbird/br-ext-chip-sigmastar/configs/unknown_unknown_msc313e_blackbird_defconfig b/projects/msc313e_blackbird/br-ext-chip-sigmastar/configs/msc313e_blackbird_defconfig
similarity index 100%
rename from projects/msc313e_blackbird/br-ext-chip-sigmastar/configs/unknown_unknown_msc313e_blackbird_defconfig
rename to projects/msc313e_blackbird/br-ext-chip-sigmastar/configs/msc313e_blackbird_defconfig
diff --git a/projects/t31_baresip/br-ext-chip-ingenic/configs/unknown_unknown_t31_baresip_defconfig b/projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig
similarity index 100%
rename from projects/t31_baresip/br-ext-chip-ingenic/configs/unknown_unknown_t31_baresip_defconfig
rename to projects/t31_baresip/br-ext-chip-ingenic/configs/t31_baresip_defconfig
diff --git a/stapler b/stapler
index a68dfa5..de20cc5 100755
--- a/stapler
+++ b/stapler
@@ -3,17 +3,16 @@
 # OpenIPC (c) | version 2022.09.12
 
 # Autoupdate COMPOSER repo
-# Remove old building folder (full rebuild)
+# Remove old building folder (for full rebuild)
 # Download OpenIPC repo
-# Copy files from Projects Overlay
+# Copy files from Project Overlay
 # Build Firmware
+# Copy Kernel and Rootfs to Archive
 # Copy Kernel and Rootfs to TFTP server
 
-RELEASE=""
 PROJECT="$1"
 TFTPSRV="root@172.17.32.17:/mnt/bigger-2tb/Rotator/TFTP"
 OUTTIME=$(date +"%Y%m%d")
-RELEASE="0de21138e0261a5ef100b9980594f15dac94d225"                              # Rollback
 
 
 echo_c() {