From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6625877419714674688 X-Received: by 2002:adf:dd08:: with SMTP id a8mr1819523wrm.13.1542968608106; Fri, 23 Nov 2018 02:23:28 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:41c5:: with SMTP id o188ls3282292wma.3.gmail; Fri, 23 Nov 2018 02:23:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wfme/4M1SO4W1qrOFoy/66/LHWVnBh0p4qsETl2gQQHLbKhdy06AJE/skW9+Q4XHRbQO8L X-Received: by 2002:a1c:ed04:: with SMTP id l4mr2010368wmh.21.1542968607658; Fri, 23 Nov 2018 02:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542968607; cv=none; d=google.com; s=arc-20160816; b=vO3eD6iBuYSyzRfV2SJLQa5FiXtepxRsvg7mvIYvlHwqPa9H7hxDs1T1hMnQ3SBSVI bI80cGUzx9WDGj+HOJ6cB7g8ue1L5zQZhze4bxqDum+kWVBaznEq2eB01OXzBOG4bsUg XhNvAbKS/2wKc8Dvq16TqVE9+ST/c0zuESyqlTZV4EEQdwG4d9ivXLGqXBQ56su74kmY 5FXVReqVga4JtHlHMkk0BfnckbIuS5FXqLfhow6AROoBfE9aWASuH6nTJbthqQURmxPo IHHKdhUwtrWeGSFgEzWucGFYDRQpIUUXW+QCc3j5Tp392Iw7grLoe8x6tGrGCZ0rxd6o jwZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:to:subject; bh=S8ERKMlQW/tf5LNPEV8tG+ijm4kTw9hQdLqeB9kAo/M=; b=ri6lasRl+RfsfDLtc8epeUmNIRLPicbqGNqak9KF3oMjb1fpzUluS7a0iTwpOr5brG VdcL1tfSsEwAKSAZMGqRQ+AuVl3K/SNUj72KqSIQFxvvSBniqE9atXKeFHHQ+DPXzMpM wm4O/Pl6KpwqlpneRMslZ2YWGJCBRPrNQXbYHOZFHM0OGdFcm/BLHWnEyjysg1KUdp8c nAChd/3/n8f4SrQx2MYH5UK+WunSyb7QQu1fywD8r9prChWOeME8SS8cYgK5ksez2SKU sjrm2kWJt1Rd0abzS3FpIpIRE0ug8fDtnRAweSVT3XK1YOUdZgh6oY+dDaF+TiibGoo6 YyfQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id h137-v6si274670wmd.1.2018.11.23.02.23.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 02:23:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wANANOeo025140 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 23 Nov 2018 11:23:26 +0100 Subject: Re: [PATCH] u-boot-custom: Use bitbake variables instead of hardcoded values To: Henning Schild , isar-users@googlegroups.com References: <20181120094822.7819-1-henning.schild@siemens.com> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <89ba8209-f15a-82e6-fb27-f8938c983c9c@ilbers.de> Date: Fri, 23 Nov 2018 13:23:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181120094822.7819-1-henning.schild@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: ZQzmhoujvqxU On 11/20/18 12:48 PM, Henning Schild wrote: > Make use of PN and P instead of hardcoding these strings. Applied to the 'next', Thanks, Maxim. > 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 > > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov