summaryrefslogtreecommitdiffstats
path: root/bsp/meta-sancloud/kas
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-sancloud/kas')
-rw-r--r--bsp/meta-sancloud/kas/bbe-arago.yml20
-rw-r--r--bsp/meta-sancloud/kas/bbe-poky.yml16
-rw-r--r--bsp/meta-sancloud/kas/dev/bbe-arago.yml42
-rw-r--r--bsp/meta-sancloud/kas/dev/bbe-poky-kernel-lts.yml8
-rw-r--r--bsp/meta-sancloud/kas/dev/bbe-poky-kernel-mainline.yml8
-rw-r--r--bsp/meta-sancloud/kas/dev/bbe-poky-kernel-stable.yml14
-rw-r--r--bsp/meta-sancloud/kas/dev/bbe-poky.yml68
-rw-r--r--bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch32
-rw-r--r--bsp/meta-sancloud/kas/patches/meta-arago/0001-packagegroup-arago-sysvinit-boot-Skip-recipe-if-sysv.patch35
9 files changed, 243 insertions, 0 deletions
diff --git a/bsp/meta-sancloud/kas/bbe-arago.yml b/bsp/meta-sancloud/kas/bbe-arago.yml
new file mode 100644
index 00000000..e1d87db0
--- /dev/null
+++ b/bsp/meta-sancloud/kas/bbe-arago.yml
@@ -0,0 +1,20 @@
+header:
+ version: 8
+ includes:
+ - dev/bbe-arago.yml
+
+repos:
+ poky:
+ refspec: febbe2944c0c4a04b85fa98fdc261186115954d8
+ meta-openembedded:
+ refspec: e413c1ef621688e69bb7830bb3151ed23b30b73e
+ meta-arm:
+ refspec: 0bd9c740267c0926e89bcfdb489790b7bf1fbd4b
+ meta-ti:
+ refspec: f2b2b2095f1a9d3ef705f7518d9db1e3141da2fb
+ meta-rtlwifi:
+ refspec: 91dd94630dad98389bfe4e15207e771754bde75c
+ meta-arago:
+ refspec: 41cfd83e13955178bffae84ebbe5a915b79181fd
+ meta-qt5:
+ refspec: fdd19517e17240b0b61765bd02fc483a1bde986f
diff --git a/bsp/meta-sancloud/kas/bbe-poky.yml b/bsp/meta-sancloud/kas/bbe-poky.yml
new file mode 100644
index 00000000..6a52bc40
--- /dev/null
+++ b/bsp/meta-sancloud/kas/bbe-poky.yml
@@ -0,0 +1,16 @@
+header:
+ version: 8
+ includes:
+ - dev/bbe-poky.yml
+
+repos:
+ poky:
+ refspec: febbe2944c0c4a04b85fa98fdc261186115954d8
+ meta-openembedded:
+ refspec: e413c1ef621688e69bb7830bb3151ed23b30b73e
+ meta-arm:
+ refspec: 0bd9c740267c0926e89bcfdb489790b7bf1fbd4b
+ meta-ti:
+ refspec: f2b2b2095f1a9d3ef705f7518d9db1e3141da2fb
+ meta-rtlwifi:
+ refspec: 91dd94630dad98389bfe4e15207e771754bde75c
diff --git a/bsp/meta-sancloud/kas/dev/bbe-arago.yml b/bsp/meta-sancloud/kas/dev/bbe-arago.yml
new file mode 100644
index 00000000..903035e4
--- /dev/null
+++ b/bsp/meta-sancloud/kas/dev/bbe-arago.yml
@@ -0,0 +1,42 @@
+header:
+ version: 8
+ includes:
+ - bbe-poky.yml
+
+distro: arago
+target:
+ - tisdk-default-image
+ - tisdk-base-image
+
+repos:
+ meta-arago:
+ url: http://arago-project.org/git/meta-arago.git
+ path: layers/meta-arago
+ refspec: dunfell
+ layers:
+ meta-arago-distro:
+ meta-arago-extras:
+ patches:
+ skip-packagegroup-sysvinit-boot:
+ repo: meta-sancloud
+ path: kas/patches/meta-arago/0001-packagegroup-arago-sysvinit-boot-Skip-recipe-if-sysv.patch
+ fix-do-create-srcipk:
+ repo: meta-sancloud
+ path: kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch
+ meta-qt5:
+ url: https://github.com/meta-qt5/meta-qt5.git
+ path: layers/meta-qt5
+ refspec: dunfell
+ meta-openembedded:
+ layers:
+ meta-networking:
+ meta-arm:
+ layers:
+ meta-arm-toolchain:
+
+local_conf_header:
+ arago: |
+ PACKAGE_CLASSES = "package_ipk"
+ TCMODEAPPEND = ""
+ sstate: |
+ require conf/include/sancloud-sstate-arago.inc
diff --git a/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-lts.yml b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-lts.yml
new file mode 100644
index 00000000..51ced230
--- /dev/null
+++ b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-lts.yml
@@ -0,0 +1,8 @@
+header:
+ version: 8
+ includes:
+ - bbe-poky-kernel-stable.yml
+
+local_conf_header:
+ linux_kernel: |
+ BBE_KERNEL_PROVIDER = "lts"
diff --git a/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-mainline.yml b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-mainline.yml
new file mode 100644
index 00000000..c39e2dfb
--- /dev/null
+++ b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-mainline.yml
@@ -0,0 +1,8 @@
+header:
+ version: 8
+ includes:
+ - bbe-poky-kernel-stable.yml
+
+local_conf_header:
+ linux_kernel: |
+ BBE_KERNEL_PROVIDER = "mainline"
diff --git a/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-stable.yml b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-stable.yml
new file mode 100644
index 00000000..81b70a73
--- /dev/null
+++ b/bsp/meta-sancloud/kas/dev/bbe-poky-kernel-stable.yml
@@ -0,0 +1,14 @@
+header:
+ version: 8
+ includes:
+ - bbe-poky.yml
+
+repos:
+ meta-kernel:
+ url: https://gitlab.com/openembedded/community/meta-kernel.git
+ path: layers/meta-kernel
+ refspec: master
+
+local_conf_header:
+ linux_kernel: |
+ BBE_KERNEL_PROVIDER = "stable"
diff --git a/bsp/meta-sancloud/kas/dev/bbe-poky.yml b/bsp/meta-sancloud/kas/dev/bbe-poky.yml
new file mode 100644
index 00000000..0d8f7c5e
--- /dev/null
+++ b/bsp/meta-sancloud/kas/dev/bbe-poky.yml
@@ -0,0 +1,68 @@
+header:
+ version: 8
+
+machine: bbe
+distro: poky
+target:
+ - core-image-base
+
+repos:
+ meta-sancloud:
+ poky:
+ url: https://git.yoctoproject.org/git/poky
+ path: layers/poky
+ refspec: dunfell
+ layers:
+ meta:
+ meta-poky:
+ meta-openembedded:
+ url: https://github.com/openembedded/meta-openembedded.git
+ path: layers/meta-openembedded
+ refspec: dunfell
+ layers:
+ meta-oe:
+ meta-python:
+ meta-arm:
+ url: https://git.yoctoproject.org/git/meta-arm
+ path: layers/meta-arm
+ refspec: dunfell
+ layers:
+ meta-arm:
+ meta-ti:
+ url: https://git.yoctoproject.org/git/meta-ti
+ path: layers/meta-ti
+ refspec: dunfell
+ meta-rtlwifi:
+ url: https://github.com/EmbeddedAndroid/meta-rtlwifi.git
+ path: layers/meta-rtlwifi
+ refspec: master
+
+bblayers_conf_header:
+ base: |
+ POKY_BBLAYERS_CONF_VERSION = "2"
+ BBPATH = "${TOPDIR}"
+ BBFILES ?= ""
+
+local_conf_header:
+ base: |
+ PACKAGE_CLASSES ?= "package_rpm"
+ SDKMACHINE ?= "x86_64"
+ EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
+ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
+ PATCHRESOLVE = "noop"
+ BB_DISKMON_DIRS ?= "\
+ STOPTASKS,${TMPDIR},1G,100K \
+ STOPTASKS,${DL_DIR},1G,100K \
+ STOPTASKS,${SSTATE_DIR},1G,100K \
+ STOPTASKS,/tmp,100M,100K \
+ ABORT,${TMPDIR},100M,1K \
+ ABORT,${DL_DIR},100M,1K \
+ ABORT,${SSTATE_DIR},100M,1K \
+ ABORT,/tmp,10M,1K"
+ CONF_VERSION = "1"
+ TCLIBCAPPEND = ""
+ require conf/include/sancloud-mirrors.inc
+ sstate: |
+ require conf/include/sancloud-sstate-poky.inc
+ archiver: |
+ require conf/include/sancloud-enable-archiver.inc
diff --git a/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch b/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch
new file mode 100644
index 00000000..dce9abb7
--- /dev/null
+++ b/bsp/meta-sancloud/kas/patches/meta-arago/0001-linux-copy-defconfig-Only-move-do_create_srcipk-task.patch
@@ -0,0 +1,32 @@
+From aa5193801eb5052eba389f51deacbce7ec74c589 Mon Sep 17 00:00:00 2001
+From: Paul Barker <pbarker@konsulko.com>
+Date: Sun, 21 Jun 2020 15:20:02 +0100
+Subject: [master/dunfell][PATCH] linux: copy-defconfig: Only move
+ do_create_srcipk task if it is defined
+To: meta-arago@arago-project.org
+
+Signed-off-by: Paul Barker <pbarker@konsulko.com>
+---
+ .../recipes-kernel/linux/copy-defconfig.inc | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
+index 10ecf8ea..65b615cb 100644
+--- a/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
++++ b/meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
+@@ -17,6 +17,9 @@ do_configure_append() {
+ fi
+ }
+
+-# Move create_srcipk task so that the release defconfig is included.
+-deltask do_create_srcipk
+-addtask create_srcipk after do_configure before do_compile
++python __anonymous() {
++ # Move create_srcipk task so that the release defconfig is included.
++ if d.getVarFlag('do_create_srcipk', "task"):
++ bb.build.deltask('do_create_srcipk', d)
++ bb.build.addtask('do_create_srcipk', 'do_configure', 'do_compile', d)
++}
+--
+2.27.0
+
diff --git a/bsp/meta-sancloud/kas/patches/meta-arago/0001-packagegroup-arago-sysvinit-boot-Skip-recipe-if-sysv.patch b/bsp/meta-sancloud/kas/patches/meta-arago/0001-packagegroup-arago-sysvinit-boot-Skip-recipe-if-sysv.patch
new file mode 100644
index 00000000..df66e945
--- /dev/null
+++ b/bsp/meta-sancloud/kas/patches/meta-arago/0001-packagegroup-arago-sysvinit-boot-Skip-recipe-if-sysv.patch
@@ -0,0 +1,35 @@
+From 39c79d5d514ff05fa749bda20d72af18f4b95e12 Mon Sep 17 00:00:00 2001
+From: Paul Barker <pbarker@konsulko.com>
+Date: Tue, 9 Jun 2020 11:22:06 +0100
+Subject: [master/dunfell][PATCH] packagegroup-arago-sysvinit-boot: Skip recipe
+ if sysvinit is not enabled
+To: meta-arago@arago-project.org
+
+This change fixes the following error seen at parse time when the
+meta-arago-distro layer is present but sysvinit is not in
+DISTRO_FEATURES:
+
+ ERROR: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb: Please ensure that your setting of VIRTUAL-RUNTIME_init_manager (sysvinit) matches the entries enabled in DISTRO_FEATURES
+ ERROR: Failed to parse recipe: .../meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb
+
+Signed-off-by: Paul Barker <pbarker@konsulko.com>
+---
+ .../packagegroups/packagegroup-arago-sysvinit-boot.bb | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb
+index 2eb2d777..a6e21745 100644
+--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb
++++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-sysvinit-boot.bb
+@@ -1,3 +1,8 @@
++python __anonymous() {
++ if not "sysvinit" in d.getVar("DISTRO_FEATURES").split():
++ raise bb.parse.SkipRecipe("sysvinit is not enabled")
++}
++
+ require recipes-core/packagegroups/packagegroup-core-boot.bb
+
+ PR = "r0"
+--
+2.26.2
+