From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6625877419714674688 X-Received: by 2002:a7b:cd90:: with SMTP id y16mr396669wmj.19.1542707304688; Tue, 20 Nov 2018 01:48:24 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:b6c1:: with SMTP id g184-v6ls736037wmf.9.canary-gmail; Tue, 20 Nov 2018 01:48:24 -0800 (PST) X-Google-Smtp-Source: AJdET5c3T3v2I0YcB0SGRnzXfYcv0V2BIKuPX8oeG6xDVhTOpFwBqfVZC3RemALuFPLbFyOGmTeK X-Received: by 2002:a1c:9656:: with SMTP id y83-v6mr408906wmd.12.1542707304247; Tue, 20 Nov 2018 01:48:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542707304; cv=none; d=google.com; s=arc-20160816; b=thE+Rbx0ZhgWodxfj8b/FKzafdlT1+1cku/UQmqXoY/lvH/VY96Xe+gIPn5zrpqrg2 ymdx0klykaN8si8MpNyWkLdl2rYTf+307kC6vwtzTLiY3iHLX8i0H4LhEGBlQWhZgbSZ Iwb5A8eHIYj26qJIVQBR/P6VdjT4EbtUfljGWDPu1v4pAZeaoaFAjGrAyrMIN1akDn2e SBjusZ0E2SDxXhUI5pjjrVieuxQinmw1Vl9t4HnMCCCdiG9VfQ92O7YBueOYR+xno/hv sj2bQYUwPERIqeL8rOYKxZJFqjyb+yrMfKpQ9LtgzRnJupfF+cmOMKlng3NZd9a5w1m+ P3aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=xZRoDYTjB/fb0zZa3jhhtz4ryCsJCLfMYRVyCB2IuEA=; b=MB0tLNulJNwq7wPH4JzupOTnXQZnQLfXjLKFwVucoBVzeT0YTHLKQZddPfdD30qVxx AdiP2yqwOfxxfdzuJ4XCplsNyI4Rn9+yZ3PBZQqlrgFeRO3uCcQ7tFAAQYA+8Zbjevl/ GV5acb+jH3WfLHTO886IKA3n/kMuSgPATqy7NCSaYr1hlO/+LeYuiPwx9SidNTFjEp8H 2rcSz5jtZmLtb+v6nFcWGc7cjGg5TtoWSDIfm7645Is4ZwsAo4PiJRDZnrS88KEgLbKL ahCt5aOZIXVAIktww0aQpRrzZW0jFfxlkmHwM5wEJsGaZV/vz/H61BsCdVQn8jVX3mWz J7rQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id h137-v6si1257187wmd.1.2018.11.20.01.48.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 01:48:24 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id wAK9mNhv008846 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 20 Nov 2018 10:48:23 +0100 Received: from md1za8fc.ad001.siemens.net ([139.25.68.180]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id wAK9mN0O020303; Tue, 20 Nov 2018 10:48:23 +0100 From: Henning Schild To: isar-users@googlegroups.com Cc: Henning Schild Subject: [PATCH] u-boot-custom: Use bitbake variables instead of hardcoded values Date: Tue, 20 Nov 2018 10:48:22 +0100 Message-Id: <20181120094822.7819-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: LdXL1uuI8otu Make use of PN and P instead of hardcoding these strings. Signed-off-by: Henning Schild --- meta-isar/recipes-bsp/u-boot/u-boot_2018.09.bb | 2 +- meta/recipes-bsp/u-boot/files/debian/control | 6 +++--- meta/recipes-bsp/u-boot/u-boot-custom.inc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-isar/recipes-bsp/u-boot/u-boot_2018.09.bb b/meta-isar/recipes-bsp/u-boot/u-boot_2018.09.bb index e0f756c..4ac0a5e 100644 --- a/meta-isar/recipes-bsp/u-boot/u-boot_2018.09.bb +++ b/meta-isar/recipes-bsp/u-boot/u-boot_2018.09.bb @@ -6,6 +6,6 @@ require recipes-bsp/u-boot/u-boot-custom.inc SRC_URI += " \ - ftp://ftp.denx.de/pub/u-boot/u-boot-2018.09.tar.bz2 \ + ftp://ftp.denx.de/pub/${PN}/${P}.tar.bz2 \ " SRC_URI[sha256sum] = "839bf23cfe8ce613a77e583a60375179d0ad324e92c82fbdd07bebf0fd142268" diff --git a/meta/recipes-bsp/u-boot/files/debian/control b/meta/recipes-bsp/u-boot/files/debian/control index 6b4c839..e0ea3eb 100644 --- a/meta/recipes-bsp/u-boot/files/debian/control +++ b/meta/recipes-bsp/u-boot/files/debian/control @@ -5,15 +5,15 @@ Standards-Version: 3.9.6 Build-Depends: @BUILD_DEPENDS@ Maintainer: ISAR project -Package: u-boot-@MACHINE@ +Package: @PN@-@MACHINE@ Architecture: @DISTRO_ARCH@ Description: @DESCRIPTION@, bootloader binaries -Package: u-boot-@MACHINE@-dev +Package: @PN@-@MACHINE@-dev Architecture: @DISTRO_ARCH@ Description: @DESCRIPTION@, bootloader libraries -Package: u-boot-tools +Package: @PN@-tools Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Description: @DESCRIPTION@, companion tools diff --git a/meta/recipes-bsp/u-boot/u-boot-custom.inc b/meta/recipes-bsp/u-boot/u-boot-custom.inc index 583cd47..4ec37d0 100644 --- a/meta/recipes-bsp/u-boot/u-boot-custom.inc +++ b/meta/recipes-bsp/u-boot/u-boot-custom.inc @@ -9,7 +9,7 @@ FILESPATH =. "${LAYERDIR_core}/recipes-bsp/u-boot/files:" DESCRIPTION ?= "Custom U-Boot" -PROVIDES += "u-boot-${MACHINE} u-boot-tools" +PROVIDES += "${PN}-${MACHINE} ${PN}-${MACHINE}-dev ${PN}-tools" inherit dpkg -- 2.19.1