From 0076fdf4c3cf67a19178fe5ae39f7975a5ed834b Mon Sep 17 00:00:00 2001
From: Frieder Schrempf <frieder.schrempf@kontron.de>
Date: Wed, 11 Jan 2023 10:21:08 +0100
Subject: [PATCH] Remove deprecated files from integrated KTN meta layers

With the layers in a single repo, we don't need layer-specific CI configs,
READMEs or license information anymore.
---
 layers/meta-ktn-imx/.gitlab-ci.yml     | 13 -------------
 layers/meta-ktn-stm32mp/.gitlab-ci.yml | 13 -------------
 layers/meta-ktn-stm32mp/LICENSE        |  7 -------
 layers/meta-ktn-stm32mp/LICENSE.MIT    | 21 ---------------------
 layers/meta-ktn-stm32mp/README.md      |  6 ------
 layers/meta-ktn/.gitlab-ci.yml         | 19 -------------------
 layers/meta-ktn/LICENSE                |  7 -------
 layers/meta-ktn/LICENSE.MIT            | 21 ---------------------
 layers/meta-ktn/README.md              |  6 ------
 9 files changed, 113 deletions(-)
 delete mode 100644 layers/meta-ktn-imx/.gitlab-ci.yml
 delete mode 100644 layers/meta-ktn-stm32mp/.gitlab-ci.yml
 delete mode 100644 layers/meta-ktn-stm32mp/LICENSE
 delete mode 100644 layers/meta-ktn-stm32mp/LICENSE.MIT
 delete mode 100644 layers/meta-ktn-stm32mp/README.md
 delete mode 100644 layers/meta-ktn/.gitlab-ci.yml
 delete mode 100644 layers/meta-ktn/LICENSE
 delete mode 100644 layers/meta-ktn/LICENSE.MIT
 delete mode 100644 layers/meta-ktn/README.md

diff --git a/layers/meta-ktn-imx/.gitlab-ci.yml b/layers/meta-ktn-imx/.gitlab-ci.yml
deleted file mode 100644
index 53dc54ac..00000000
--- a/layers/meta-ktn-imx/.gitlab-ci.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-include:
-  - project: 'sw/yocto/yocto-ktn'
-    ref: 6cd89b4db8772b695d1aad136b50812bbe98d7f1
-    file: '/ci/yocto-ktn-meta.yml'
-
-build:
-  extends: .meta-build-trigger
-  trigger:
-    project: sw/yocto/build-ktn-imx
-    branch: develop-dunfell
-
-stages:
-  - build
diff --git a/layers/meta-ktn-stm32mp/.gitlab-ci.yml b/layers/meta-ktn-stm32mp/.gitlab-ci.yml
deleted file mode 100644
index 1fb73cf8..00000000
--- a/layers/meta-ktn-stm32mp/.gitlab-ci.yml
+++ /dev/null
@@ -1,13 +0,0 @@
-include:
-  - project: 'sw/yocto/yocto-ktn'
-    ref: b7a501352cc35983033e92c9bd5361016a5f23ca
-    file: '/ci/yocto-ktn-meta.yml'
-
-build:
-  extends: .meta-build-trigger
-  trigger:
-    project: sw/yocto/build-stm32mp
-    branch: develop-dunfell
-
-stages:
-  - build
diff --git a/layers/meta-ktn-stm32mp/LICENSE b/layers/meta-ktn-stm32mp/LICENSE
deleted file mode 100644
index 59bb89b1..00000000
--- a/layers/meta-ktn-stm32mp/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-All metadata in this OpenEmbedded/Yocto layer is MIT licensed (see
-LICENSE.MIT) unless otherwise stated. Source code included in tree
-for individual recipes (e.g. patches) are under the LICENSE stated
-in the associated recipe (.bb file) unless otherwise stated.
-
-License information for any other files is either explicitly stated 
-or defaults to MIT.
diff --git a/layers/meta-ktn-stm32mp/LICENSE.MIT b/layers/meta-ktn-stm32mp/LICENSE.MIT
deleted file mode 100644
index fd4ca5bd..00000000
--- a/layers/meta-ktn-stm32mp/LICENSE.MIT
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2022 Kontron Electronics GmbH
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
diff --git a/layers/meta-ktn-stm32mp/README.md b/layers/meta-ktn-stm32mp/README.md
deleted file mode 100644
index 5cd559fe..00000000
--- a/layers/meta-ktn-stm32mp/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Yocto/OE meta layer for Kontron Electronics Yocto BSPs
-
-This layer provides support for Kontron Electronics BSPs, containing custom
-recipes, classes, configuration, etc.
-
-Please see https://docs.kontron-electronics.de for further information.
diff --git a/layers/meta-ktn/.gitlab-ci.yml b/layers/meta-ktn/.gitlab-ci.yml
deleted file mode 100644
index e875f08d..00000000
--- a/layers/meta-ktn/.gitlab-ci.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-include:
-  - project: 'sw/yocto/yocto-ktn'
-    ref: 24cb378341b3db63d64abb69c95b5b90ea5f6f98
-    file: '/ci/yocto-ktn-meta.yml'
-
-build-imx:
-  extends: .meta-build-trigger
-  trigger:
-    project: sw/yocto/build-ktn-imx
-    branch: develop-dunfell
-
-build-mp1:
-  extends: .meta-build-trigger
-  trigger:
-    project: sw/yocto/build-stm32mp
-    branch: develop-dunfell
-
-stages:
-  - build
diff --git a/layers/meta-ktn/LICENSE b/layers/meta-ktn/LICENSE
deleted file mode 100644
index 59bb89b1..00000000
--- a/layers/meta-ktn/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-All metadata in this OpenEmbedded/Yocto layer is MIT licensed (see
-LICENSE.MIT) unless otherwise stated. Source code included in tree
-for individual recipes (e.g. patches) are under the LICENSE stated
-in the associated recipe (.bb file) unless otherwise stated.
-
-License information for any other files is either explicitly stated 
-or defaults to MIT.
diff --git a/layers/meta-ktn/LICENSE.MIT b/layers/meta-ktn/LICENSE.MIT
deleted file mode 100644
index fd4ca5bd..00000000
--- a/layers/meta-ktn/LICENSE.MIT
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2022 Kontron Electronics GmbH
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
diff --git a/layers/meta-ktn/README.md b/layers/meta-ktn/README.md
deleted file mode 100644
index 5cd559fe..00000000
--- a/layers/meta-ktn/README.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# Yocto/OE meta layer for Kontron Electronics Yocto BSPs
-
-This layer provides support for Kontron Electronics BSPs, containing custom
-recipes, classes, configuration, etc.
-
-Please see https://docs.kontron-electronics.de for further information.
-- 
GitLab