From d04f0793f5e06e23268a6025632bfd7abd113fb5 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 5 Jun 2019 16:06:59 +0200 Subject: Changes to support the repo clone rework MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller --- templates/base/bblayers.conf.sample | 26 +++++++++++----------- .../feature/agl-fossdriver/50_bblayers.conf.inc | 2 +- templates/feature/agl-gplv2/50_bblayers.conf.inc | 2 +- .../agl-profile-graphical-qt5/50_bblayers.conf.inc | 2 +- templates/feature/agl-sota/50_bblayers.conf.inc | 8 +++---- templates/machine/beaglebone/50_bblayers.conf.inc | 2 +- templates/machine/cyclone5/50_bblayers.conf.inc | 2 +- templates/machine/dra7xx-evm/50_bblayers.conf.inc | 2 +- .../machine/dragonboard-410c/50_bblayers.conf.inc | 4 ++-- .../machine/dragonboard-820c/50_bblayers.conf.inc | 2 +- .../machine/h3-salvator-x/50_bblayers.conf.inc | 2 +- templates/machine/h3ulcb/50_bblayers.conf.inc | 2 +- templates/machine/hsdk/40_bblayers.conf.inc | 2 +- .../machine/imx6qdlsabreauto/40_bblayers.conf.inc | 2 +- .../machine/intel-corei7-64/50_bblayers.conf.inc | 2 +- .../machine/m3ulcb-nogfx/50_bblayers.conf.inc | 2 +- templates/machine/m3ulcb/50_bblayers.conf.inc | 2 +- .../machine/raspberrypi3/50_bblayers.conf.inc | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) (limited to 'templates') diff --git a/templates/base/bblayers.conf.sample b/templates/base/bblayers.conf.sample index 97537f490..653f6dbe8 100644 --- a/templates/base/bblayers.conf.sample +++ b/templates/base/bblayers.conf.sample @@ -8,16 +8,16 @@ BBFILES ?= "" # Convenience variables usable in various configuration fragments #---------------------------------- BCONFDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)))}" -METADIR := "${@os.path.abspath('##OEROOT##/..')}" +METADIR := "${@os.path.abspath('##OEROOT##/../..')}" # These are the core OE + YP Layers #---------------------------------- YOCTO_LAYERS = " \ - ${METADIR}/poky/meta \ - ${METADIR}/poky/meta-poky \ + ${METADIR}/external/poky/meta \ + ${METADIR}/external/poky/meta-poky \ " # this is added for the boards where necessary, not globally -# ${METADIR}/poky/meta-yocto-bsp \ +# ${METADIR}/external/poky/meta-yocto-bsp \ # # These are the AGL CORE Layers that make up the basis # - they create a minimal bootable filesystem @@ -30,8 +30,8 @@ AGL_CORE_LAYERS = " \ " AGL_APPFW_LAYERS = " \ - ${METADIR}/meta-security \ - ${METADIR}/meta-openembedded/meta-perl \ + ${METADIR}/external/meta-security \ + ${METADIR}/external/meta-openembedded/meta-perl \ ${METADIR}/meta-agl/meta-security \ ${METADIR}/meta-agl/meta-app-framework \ " @@ -40,11 +40,11 @@ AGL_APPFW_LAYERS = " \ # These are the direct dependencies of the AGL CORE Layers #--------------------------------------------------------- AGL_CORE_DEPENDENCY_LAYERS = " \ - ${METADIR}/meta-openembedded/meta-oe \ - ${METADIR}/meta-openembedded/meta-multimedia \ - ${METADIR}/meta-openembedded/meta-networking \ - ${METADIR}/meta-openembedded/meta-python \ - ${METADIR}/meta-openembedded/meta-filesystems \ + ${METADIR}/external/meta-openembedded/meta-oe \ + ${METADIR}/external/meta-openembedded/meta-multimedia \ + ${METADIR}/external/meta-openembedded/meta-networking \ + ${METADIR}/external/meta-openembedded/meta-python \ + ${METADIR}/external/meta-openembedded/meta-filesystems \ " #################### @@ -57,8 +57,8 @@ BBLAYERS ?= " \ " BBLAYERS_NON_REMOVABLE ?= " \ - ${METADIR}/poky/meta \ - ${METADIR}/poky/meta-poky \ + ${METADIR}/external/poky/meta \ + ${METADIR}/external/poky/meta-poky \ ${METADIR}/meta-agl/meta-agl-profile-core \ ${METADIR}/meta-agl/meta-agl-distro \ " diff --git a/templates/feature/agl-fossdriver/50_bblayers.conf.inc b/templates/feature/agl-fossdriver/50_bblayers.conf.inc index f429f3961..eea04c4e8 100644 --- a/templates/feature/agl-fossdriver/50_bblayers.conf.inc +++ b/templates/feature/agl-fossdriver/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-spdxscanner" +BBLAYERS =+ "${METADIR}/external/meta-spdxscanner" diff --git a/templates/feature/agl-gplv2/50_bblayers.conf.inc b/templates/feature/agl-gplv2/50_bblayers.conf.inc index 4c31c45c5..a0f26980d 100644 --- a/templates/feature/agl-gplv2/50_bblayers.conf.inc +++ b/templates/feature/agl-gplv2/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-gplv2" +BBLAYERS =+ "${METADIR}/external/meta-gplv2" diff --git a/templates/feature/agl-profile-graphical-qt5/50_bblayers.conf.inc b/templates/feature/agl-profile-graphical-qt5/50_bblayers.conf.inc index b0ac5bf14..960267908 100644 --- a/templates/feature/agl-profile-graphical-qt5/50_bblayers.conf.inc +++ b/templates/feature/agl-profile-graphical-qt5/50_bblayers.conf.inc @@ -5,5 +5,5 @@ BBLAYERS =+ " \ # These are the dependencies #--------------------------- BBLAYERS =+ " \ - ${METADIR}/meta-qt5 \ + ${METADIR}/external/meta-qt5 \ " diff --git a/templates/feature/agl-sota/50_bblayers.conf.inc b/templates/feature/agl-sota/50_bblayers.conf.inc index 7510b45be..67c41d230 100644 --- a/templates/feature/agl-sota/50_bblayers.conf.inc +++ b/templates/feature/agl-sota/50_bblayers.conf.inc @@ -1,7 +1,7 @@ BBLAYERS =+ " \ - ${METADIR}/meta-updater \ - ${METADIR}/meta-updater-qemux86-64 \ - ${METADIR}/meta-openembedded/meta-filesystems \ - ${METADIR}/meta-openembedded/meta-python \ + ${METADIR}/external/meta-updater \ + ${METADIR}/external/meta-updater-qemux86-64 \ + ${METADIR}/external/meta-openembedded/meta-filesystems \ + ${METADIR}/external/meta-openembedded/meta-python \ " diff --git a/templates/machine/beaglebone/50_bblayers.conf.inc b/templates/machine/beaglebone/50_bblayers.conf.inc index c62a1bbb3..f116ca28b 100644 --- a/templates/machine/beaglebone/50_bblayers.conf.inc +++ b/templates/machine/beaglebone/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-ti" +BBLAYERS =+ "${METADIR}/bsp/meta-ti" diff --git a/templates/machine/cyclone5/50_bblayers.conf.inc b/templates/machine/cyclone5/50_bblayers.conf.inc index fe60a267f..857d9f1d4 100644 --- a/templates/machine/cyclone5/50_bblayers.conf.inc +++ b/templates/machine/cyclone5/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-altera" +BBLAYERS =+ "${METADIR}/bsp/meta-altera" diff --git a/templates/machine/dra7xx-evm/50_bblayers.conf.inc b/templates/machine/dra7xx-evm/50_bblayers.conf.inc index c62a1bbb3..f116ca28b 100644 --- a/templates/machine/dra7xx-evm/50_bblayers.conf.inc +++ b/templates/machine/dra7xx-evm/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-ti" +BBLAYERS =+ "${METADIR}/bsp/meta-ti" diff --git a/templates/machine/dragonboard-410c/50_bblayers.conf.inc b/templates/machine/dragonboard-410c/50_bblayers.conf.inc index 62d02070a..4a3cae0f3 100644 --- a/templates/machine/dragonboard-410c/50_bblayers.conf.inc +++ b/templates/machine/dragonboard-410c/50_bblayers.conf.inc @@ -1,2 +1,2 @@ -BBLAYERS =+ "${METADIR}/meta-qcom" -BBMASK .= "|meta-qcom/openembedded-layer/recipes-navigation/gpsd" +BBLAYERS =+ "${METADIR}/bsp/meta-qcom" +BBMASK .= "|bsp/meta-qcom/openembedded-layer/recipes-navigation/gpsd" diff --git a/templates/machine/dragonboard-820c/50_bblayers.conf.inc b/templates/machine/dragonboard-820c/50_bblayers.conf.inc index 01ffb7f17..f3b96cbb6 100644 --- a/templates/machine/dragonboard-820c/50_bblayers.conf.inc +++ b/templates/machine/dragonboard-820c/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-qcom" +BBLAYERS =+ "${METADIR}/bsp/meta-qcom" diff --git a/templates/machine/h3-salvator-x/50_bblayers.conf.inc b/templates/machine/h3-salvator-x/50_bblayers.conf.inc index b58989c6f..7b0db440a 100644 --- a/templates/machine/h3-salvator-x/50_bblayers.conf.inc +++ b/templates/machine/h3-salvator-x/50_bblayers.conf.inc @@ -1,3 +1,3 @@ BBLAYERS =+ "\ - ${METADIR}/meta-renesas-rcar-gen3/meta-rcar-gen3 \ + ${METADIR}/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3 \ " diff --git a/templates/machine/h3ulcb/50_bblayers.conf.inc b/templates/machine/h3ulcb/50_bblayers.conf.inc index ad672c999..5f410f0ff 100644 --- a/templates/machine/h3ulcb/50_bblayers.conf.inc +++ b/templates/machine/h3ulcb/50_bblayers.conf.inc @@ -1,4 +1,4 @@ BBLAYERS =+ "\ - ${METADIR}/meta-renesas-rcar-gen3/meta-rcar-gen3 \ + ${METADIR}/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3 \ ${METADIR}/meta-agl/meta-agl-bsp/meta-rcar-gen3-adas \ " diff --git a/templates/machine/hsdk/40_bblayers.conf.inc b/templates/machine/hsdk/40_bblayers.conf.inc index 8c02e8f61..e3954fef3 100644 --- a/templates/machine/hsdk/40_bblayers.conf.inc +++ b/templates/machine/hsdk/40_bblayers.conf.inc @@ -1,2 +1,2 @@ # Use meta-synopsys layer for ARC HSDK board -BBLAYERS =+ "${METADIR}/meta-synopsys" +BBLAYERS =+ "${METADIR}/bsp/meta-synopsys" diff --git a/templates/machine/imx6qdlsabreauto/40_bblayers.conf.inc b/templates/machine/imx6qdlsabreauto/40_bblayers.conf.inc index 779006506..edcb6a3a2 100644 --- a/templates/machine/imx6qdlsabreauto/40_bblayers.conf.inc +++ b/templates/machine/imx6qdlsabreauto/40_bblayers.conf.inc @@ -1,5 +1,5 @@ # This must be parsed after qt5, etc. layers so that they are correctly # recognized by meta-freescale/dynamic-layers BBLAYERS =+ "\ - ${METADIR}/meta-freescale \ + ${METADIR}/bsp/meta-freescale \ " diff --git a/templates/machine/intel-corei7-64/50_bblayers.conf.inc b/templates/machine/intel-corei7-64/50_bblayers.conf.inc index d50ccc922..8fd7af533 100644 --- a/templates/machine/intel-corei7-64/50_bblayers.conf.inc +++ b/templates/machine/intel-corei7-64/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-intel" +BBLAYERS =+ "${METADIR}/bsp/meta-intel" diff --git a/templates/machine/m3ulcb-nogfx/50_bblayers.conf.inc b/templates/machine/m3ulcb-nogfx/50_bblayers.conf.inc index ad672c999..5f410f0ff 100644 --- a/templates/machine/m3ulcb-nogfx/50_bblayers.conf.inc +++ b/templates/machine/m3ulcb-nogfx/50_bblayers.conf.inc @@ -1,4 +1,4 @@ BBLAYERS =+ "\ - ${METADIR}/meta-renesas-rcar-gen3/meta-rcar-gen3 \ + ${METADIR}/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3 \ ${METADIR}/meta-agl/meta-agl-bsp/meta-rcar-gen3-adas \ " diff --git a/templates/machine/m3ulcb/50_bblayers.conf.inc b/templates/machine/m3ulcb/50_bblayers.conf.inc index ad672c999..5f410f0ff 100644 --- a/templates/machine/m3ulcb/50_bblayers.conf.inc +++ b/templates/machine/m3ulcb/50_bblayers.conf.inc @@ -1,4 +1,4 @@ BBLAYERS =+ "\ - ${METADIR}/meta-renesas-rcar-gen3/meta-rcar-gen3 \ + ${METADIR}/bsp/meta-renesas-rcar-gen3/meta-rcar-gen3 \ ${METADIR}/meta-agl/meta-agl-bsp/meta-rcar-gen3-adas \ " diff --git a/templates/machine/raspberrypi3/50_bblayers.conf.inc b/templates/machine/raspberrypi3/50_bblayers.conf.inc index 1250b359f..2e677dd8a 100644 --- a/templates/machine/raspberrypi3/50_bblayers.conf.inc +++ b/templates/machine/raspberrypi3/50_bblayers.conf.inc @@ -1 +1 @@ -BBLAYERS =+ "${METADIR}/meta-raspberrypi" +BBLAYERS =+ "${METADIR}/bsp/meta-raspberrypi" -- cgit 1.2.3-korg