KIRSKSTONE: overwrite syntax

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
Christophe Priouzeau committed 2022-05-02 11:53:28 +02:00
1 parent 5e68bca87d
commit 483a6968fa
66 files changed
+551 -552

No files matched your search

@@ -20,5 +20,5 @@ do_install () {
fi
}
FILES_${PN} += "${sysconfdir}/"
RDEPENDS_${PN} += "u-boot-fw-utils"
FILES:${PN} += "${sysconfdir}/"
RDEPENDS:${PN} += "u-boot-fw-utils"
@@ -1,7 +1,7 @@
#
# Archiver Configuration
#
SRC_URI_append = " file://README.HOW_TO.txt "
SRC_URI:append = " file://README.HOW_TO.txt "
inherit archiver
ARCHIVER_MODE[src] = "original"
@@ -51,8 +51,8 @@ S = "${WORKDIR}/git"
# ---------------------------------
BBCLASSEXTEND = "devupstream:target"
SRC_URI_class-devupstream = "git://github.com/STMicroelectronics/u-boot.git;protocol=https;branch=${ARCHIVER_ST_BRANCH}"
SRCREV_class-devupstream = "6fde82adf71ebad4b16d99f76ed69abfd9cfaf42"
SRC_URI:class-devupstream = "git://github.com/STMicroelectronics/u-boot.git;protocol=https;branch=${ARCHIVER_ST_BRANCH}"
SRCREV:class-devupstream = "6fde82adf71ebad4b16d99f76ed69abfd9cfaf42"
# ---------------------------------
# Configure default preference to manage dynamic selection between tarball and github
@@ -27,5 +27,5 @@ do_install() {
fi
}
ALLOW_EMPTY_${PN} = "1"
FILES_${PN} = "/boot"
ALLOW_EMPTY:${PN} = "1"
FILES:${PN} = "/boot"
+9 -9
View File
@@ -1,9 +1,9 @@
require recipes-bsp/u-boot/u-boot.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-stm32mp:"
FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-stm32mp:"
# Configure build dir for externalsrc class usage through devtool
EXTERNALSRC_BUILD_pn-${PN} = "${WORKDIR}/build"
EXTERNALSRC_BUILD:pn-${PN} = "${WORKDIR}/build"
B = "${WORKDIR}/build"
# Define dedicated var to configure SPL binary name to override U-Boot default
@@ -34,7 +34,7 @@ STAGING_UBOOT_DIR = "${TMPDIR}/work-shared/${MACHINE}/uboot-source"
# the symlink.
do_unpack[cleandirs] += " ${S} ${STAGING_UBOOT_DIR}"
do_clean[cleandirs] += " ${S} ${STAGING_UBOOT_DIR}"
base_do_unpack_append () {
base_do_unpack:append () {
# Specific part to update devtool-source class
if bb.data.inherits_class('devtool-source', d):
# We don't want to move the source to STAGING_UBOOT_DIR here
@@ -62,7 +62,7 @@ base_do_unpack_append () {
# -----------------------------------------------------------------------------
# Prepend configure to handle specific configuration (here fip)
#
do_configure_prepend() {
do_configure:prepend() {
if [ -n "${UBOOT_CONFIG}" ]; then
unset i j
for config in ${UBOOT_MACHINE}; do
@@ -91,7 +91,7 @@ do_configure_prepend() {
# -----------------------------------------------------------------------------
# Append configure to handle specific MTDPART check if required
#
do_configure_append() {
do_configure:append() {
if [ -n "${UBOOT_MTDPART_CHECK_ENABLE}" ]; then
if [ -n "${UBOOT_CONFIG}" ]; then
for config in ${UBOOT_MACHINE}; do
@@ -139,7 +139,7 @@ do_configure_append() {
# -----------------------------------------------------------------------------
# Append compile to handle specific device tree compilation
#
do_compile_append() {
do_compile:append() {
if [ -n "${UBOOT_DEVICETREE}" ]; then
if [ -n "${UBOOT_CONFIG}" ]; then
unset i j k
@@ -194,7 +194,7 @@ do_compile_append() {
# Append deploy to handle specific device tree binary deployement
#
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}/u-boot"
do_deploy_append() {
do_deploy:append() {
if [ -n "${UBOOT_DEVICETREE}" ]; then
if [ -n "${UBOOT_CONFIG}" ]; then
# Clean deploydir from any available binary first
@@ -274,8 +274,8 @@ do_deploy_append() {
# ---------------------------------------------------------------------
# Avoid QA Issue: No GNU_HASH in the elf binary
INSANE_SKIP_${PN} += "ldflags"
INSANE_SKIP:${PN} += "ldflags"
# ---------------------------------------------------------------------
# Avoid QA Issue: ELF binary has relocations in .text
# (uboot no need -fPIC option : remove check)
INSANE_SKIP_${PN} += "textrel"
INSANE_SKIP:${PN} += "textrel"
+1 -1
View File
@@ -5,7 +5,7 @@ SUMMARY = "Universal Boot Loader for embedded devices for stm32mp"
LICENSE = "GPLv2+"
PROVIDES += "u-boot"
RPROVIDES_${PN} += "u-boot"
RPROVIDES:${PN} += "u-boot"
# ---------------------------------
# Configure archiver use