From dc5b450e11fb33a32b5203ac3c3c872a5ce6b15b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Tue, 23 Apr 2019 16:53:53 +0200
Subject: [PATCH] compile_pkgs: rename target turris to turris1x

This is more appropriate naming for Turris 1.x routers because otherwise
just plain turris is confusing.
---
 compile_pkgs                           | 6 +++---
 configs/{turris => turris1x}/basic-hw  | 0
 configs/{turris => turris1x}/branding  | 0
 configs/{turris => turris1x}/custom_sw | 0
 configs/{turris => turris1x}/hacks     | 0
 configs/{turris => turris1x}/kernel    | 0
 disabled_packages/{turris => turris1x} | 0
 7 files changed, 3 insertions(+), 3 deletions(-)
 rename configs/{turris => turris1x}/basic-hw (100%)
 rename configs/{turris => turris1x}/branding (100%)
 rename configs/{turris => turris1x}/custom_sw (100%)
 rename configs/{turris => turris1x}/hacks (100%)
 rename configs/{turris => turris1x}/kernel (100%)
 rename disabled_packages/{turris => turris1x} (100%)

diff --git a/compile_pkgs b/compile_pkgs
index 19f92823e..a4e3aa0de 100755
--- a/compile_pkgs
+++ b/compile_pkgs
@@ -46,8 +46,8 @@ set_target() {
 			TARGET_BOARD=omnia
 			TARGET_ARCH=armv7l
 			;;
-		turris)
-			TARGET_BOARD=turris
+		turris1x)
+			TARGET_BOARD=turris1x
 			TARGET_ARCH=ppcspe
 			;;
 		mox)
@@ -55,7 +55,7 @@ set_target() {
 			TARGET_ARCH=aarch64
 			;;
 		*)
-			echo "Invalid target board!!! Use -t [turris|omnia|mox]!!!"
+			echo "Invalid target board!!! Use -t [turris1x|omnia|mox]!!!"
 			exit 1
 			;;
 	esac
diff --git a/configs/turris/basic-hw b/configs/turris1x/basic-hw
similarity index 100%
rename from configs/turris/basic-hw
rename to configs/turris1x/basic-hw
diff --git a/configs/turris/branding b/configs/turris1x/branding
similarity index 100%
rename from configs/turris/branding
rename to configs/turris1x/branding
diff --git a/configs/turris/custom_sw b/configs/turris1x/custom_sw
similarity index 100%
rename from configs/turris/custom_sw
rename to configs/turris1x/custom_sw
diff --git a/configs/turris/hacks b/configs/turris1x/hacks
similarity index 100%
rename from configs/turris/hacks
rename to configs/turris1x/hacks
diff --git a/configs/turris/kernel b/configs/turris1x/kernel
similarity index 100%
rename from configs/turris/kernel
rename to configs/turris1x/kernel
diff --git a/disabled_packages/turris b/disabled_packages/turris1x
similarity index 100%
rename from disabled_packages/turris
rename to disabled_packages/turris1x
-- 
GitLab