From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6449247987863388160 X-Received: by 10.99.186.7 with SMTP id k7mr1062749pgf.136.1502133517205; Mon, 07 Aug 2017 12:18:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.107.134.70 with SMTP id i67ls1491125iod.12.gmail; Mon, 07 Aug 2017 12:18:36 -0700 (PDT) X-Received: by 10.13.200.135 with SMTP id k129mr1080417ywd.82.1502133516852; Mon, 07 Aug 2017 12:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502133516; cv=none; d=google.com; s=arc-20160816; b=klRcbCdzoCxMtOQXhbzQk6D6P+9bR1e4i4WYGCCs1lAMUp2jZQO/FBWFFjpBuHX0Pk 3Fk/8Dd7v1w3EAYOGqXQvldDDRwQDtg2EKPfQ/AtyxXT0wMMI/b1YE60uJsCRfJkmhse NE6P9VepvfQ/t2BYptXqR5sPvAUsFuJ9NPu2FjbzWPmCmgcFKd6hI7K374KAKzcQgL+m xKnf1w74HGywGS3hrc2jvEBGMyFv9ZqGZlRAzrd7r5YrucmCFzAyki/kSLxtnuPbbMrS KKsrT2Qi8pBEC2x4EhopLMSjMqG2GyhWI7ZJ2jo2QYq+adMYstgzRBDkighH15v4Bm3b rWjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:dkim-signature:arc-authentication-results; bh=fFuxNQb7TjjT/11agy3MWHIhFY7fMSATmRM2S+91JEw=; b=gSVw7VrsOAeIkaKMGfQEovrFUOuW/YnwXUpKfMoL8q0UKG9D4QeXepRGjmWzckqHF/ S6wMsgQLwErVu2aREiUYBcYPN8DRzskukmedfHCGw00CxjvpZFIzDehQyf6gdnE2phjv nWZKZ7Hfa9n0CaQ1KVxFa/OJYMOE8sahasPKBQ0U2r0gKtTwwlAs1zWoMfZ48pacHNaq h8s7i2B/oCvplWNniacqvInBoN1NIPq2KJI4Iycp9MW/tZJa+YEMJ4vb9ZdzXSQKos8z JUof7FDaOx0pr1JJgM7ixOP38hx9LHZg2dGe4qzx4DRWdAFCa1ljvGT++KenWLDrl3do SVrg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=DqNo6kJm; spf=pass (google.com: domain of alex.bluesman.smirnov@gmail.com designates 2607:f8b0:400d:c0d::244 as permitted sender) smtp.mailfrom=alex.bluesman.smirnov@gmail.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com. [2607:f8b0:400d:c0d::244]) by gmr-mx.google.com with ESMTPS id q126si516258ywg.13.2017.08.07.12.18.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 12:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of alex.bluesman.smirnov@gmail.com designates 2607:f8b0:400d:c0d::244 as permitted sender) client-ip=2607:f8b0:400d:c0d::244; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=DqNo6kJm; spf=pass (google.com: domain of alex.bluesman.smirnov@gmail.com designates 2607:f8b0:400d:c0d::244 as permitted sender) smtp.mailfrom=alex.bluesman.smirnov@gmail.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: by mail-qt0-x244.google.com with SMTP id u19so1422610qtc.0 for ; Mon, 07 Aug 2017 12:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fFuxNQb7TjjT/11agy3MWHIhFY7fMSATmRM2S+91JEw=; b=DqNo6kJmGKTB5PRV8qWFtEwgOH9o1T4qU7N9LhwxKHU0DBydVhx97nFgvKAqXI0lXg aHF1msQcLVSrby9P93BcHDGnAg0qg/LJuBQhqwzM7FnXp/h+UsoWW2del/4Y/GVknavZ qtNbG0njztX2sY+Sf9EFdvmpyvmO0UUsjljCq+f1oamNEGUPTc94akAOTqGApnVERrof eBWejk+/K/abaExymSYTboWKqnZ7mEYZsnpjtCIlCjorApJIpX8mxGIlpMruw2BJNm0Q EoLVF0SdlYGC5VtnrpkqVcS0xcm+AcvUuRQ63bO4eqU6J7i57iJmAErM3IWaAs48xVp0 0B4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fFuxNQb7TjjT/11agy3MWHIhFY7fMSATmRM2S+91JEw=; b=NrASmatTDEhlGuKN3jBfaFiBCk00IXMwHsaXAi07O1qY41Bf+x3sLqxM5TIyzASaC/ EeJNg4O143sitetXSOSijfcgfRursKYaP/rmNw+5uMLlP8CKWWcZSpPsJdmhDUqTHKmw Oeay1i1I8SSE8jAFgu0VFsPkaXTH3JmegxK0SGmHNuREC4PmXOF3tSHIM4DibRx8YR5R JFe0gwHCZO68cKL9Q2cnqSL+hPlMcek8GKi4kdUksKuNNDbgKCvLyOoS8fZd91YcG1bh fH19I8Vk24fY2lXQ61mLg1zPae4ByDsLd3B+JzZ+NTzt03w+f6kqBxxcIYP/w3BL8KzJ btrw== X-Gm-Message-State: AHYfb5iZL0zwjifhEnPaAARrPGWhyqOZ191RFBl+GaBl8h+E6G/PccBP UdK8k7ijeVFBmABcxQbMAIeTskWJTw== X-Received: by 10.237.37.140 with SMTP id x12mr2224714qtc.133.1502133516535; Mon, 07 Aug 2017 12:18:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.148.188 with HTTP; Mon, 7 Aug 2017 12:18:36 -0700 (PDT) In-Reply-To: <87549e3e12d5e4f2ee2464ba0e47cfe3b1d91284.1501760818.git.henning.schild@siemens.com> References: <87549e3e12d5e4f2ee2464ba0e47cfe3b1d91284.1501760818.git.henning.schild@siemens.com> From: Alexander Smirnov Date: Mon, 7 Aug 2017 22:18:36 +0300 Message-ID: Subject: Re: [PATCH 0-10 of 16 v2 1/8] meta: classes: use base.bbclass from bitbake To: Henning Schild Cc: isar-users@googlegroups.com Content-Type: multipart/alternative; boundary="001a114211e2a88d9805562eb647" X-TUID: ELGWiIAoT1mm --001a114211e2a88d9805562eb647 Content-Type: text/plain; charset="UTF-8" Hi again, it looks like this patch doesn't work for Isar. 'base.bbclass' is the one which is included by default to any bitbake operation. In the default 'base.bbclass' there is one very bad line: bitbake/classes/base.bbclass: 51: do_build[nostamp] = "1" This line disables stamps for build tasks, it completely destroys the pipeline. In your patch you move the line: do_build[nostamp] = "0" to 'isar-base.bbclass'. But to have this construction working you have to explicitely include this class to *every* recipe in Isar, what looks for me as huge overhead. 2017-08-03 14:55 GMT+03:00 Henning Schild : > Do not use our own copy of that class and move local deviations into > isar-base. That also fixes the default tasks "showdata" and "listtasks", > which probably never worked. > > Signed-off-by: Henning Schild > --- > meta/classes/base.bbclass | 81 +----------------------------- > ------------ > meta/classes/dpkg.bbclass | 2 ++ > meta/classes/ext4-img.bbclass | 2 ++ > meta/classes/isar-base.bbclass | 36 +++++++++++++++++++ > 4 files changed, 41 insertions(+), 80 deletions(-) > mode change 100644 => 120000 meta/classes/base.bbclass > create mode 100644 meta/classes/isar-base.bbclass > > diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass > deleted file mode 100644 > index 48b6bac..0000000 > --- a/meta/classes/base.bbclass > +++ /dev/null > @@ -1,80 +0,0 @@ > -# Copyright (C) 2003 Chris Larson > -# > -# Permission is hereby granted, free of charge, to any person obtaining a > -# copy of this software and associated documentation files (the > "Software"), > -# to deal in the Software without restriction, including without > limitation > -# the rights to use, copy, modify, merge, publish, distribute, sublicense, > -# and/or sell copies of the Software, and to permit persons to whom the > -# Software is furnished to do so, subject to the following conditions: > -# > -# The above copyright notice and this permission notice shall be included > -# in all copies or substantial portions of the Software. > -# > -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS > OR > -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR > -# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, > -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > -# OTHER DEALINGS IN THE SOFTWARE. > - > -THISDIR = "${@os.path.dirname(d.getVar('FILE', True))}" > - > -die() { > - bbfatal "$*" > -} > - > -bbnote() { > - echo "NOTE:" "$*" > -} > - > -bbwarn() { > - echo "WARNING:" "$*" > -} > - > -bbfatal() { > - echo "FATAL:" "$*" > - exit 1 > -} > - > -bbdebug() { > - test $# -ge 2 || { > - echo "Usage: bbdebug level \"message\"" > - exit 1 > - } > - > - test ${@bb.msg.debug_level['default']} -ge $1 && { > - shift > - echo "DEBUG:" $* > - } > -} > - > -addtask showdata > -do_showdata[nostamp] = "1" > -python do_showdata() { > - import sys > - # emit variables and shell functions > - bb.data.emit_env(sys.__stdout__, d, True) > - # emit the metadata which isnt valid shell > - for e in bb.data.keys(d): > - if bb.data.getVarFlag(e, 'python', d): > - sys.__stdout__.write("\npython %s () {\n%s}\n" % > (e, bb.data.getVar(e, d, 1))) > -} > - > -addtask listtasks > -do_listtasks[nostamp] = "1" > -python do_listtasks() { > - import sys > - for e in bb.data.keys(d): > - if bb.data.getVarFlag(e, 'task', d): > - sys.__stdout__.write("%s\n" % e) > -} > - > -addtask build > -do_build[dirs] = "${TOPDIR}" > -python base_do_build () { > - bb.note("The included, default BB base.bbclass does not define a > useful default task.") > - bb.note("Try running the 'listtasks' task against a .bb to see > what tasks are defined.") > -} > - > -EXPORT_FUNCTIONS do_clean do_mrproper do_build > diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass > new file mode 120000 > index 0000000..11fe0a4 > --- /dev/null > +++ b/meta/classes/base.bbclass > @@ -0,0 +1 @@ > +../../bitbake/classes/base.bbclass > \ No newline at end of file > diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass > index a0446d7..3d7aafb 100644 > --- a/meta/classes/dpkg.bbclass > +++ b/meta/classes/dpkg.bbclass > @@ -1,6 +1,8 @@ > # This software is a part of ISAR. > # Copyright (C) 2015-2016 ilbers GmbH > > +inherit isar-base > + > # Add dependency from buildchroot creation > DEPENDS += "buildchroot" > do_unpack[deptask] = "do_build" > diff --git a/meta/classes/ext4-img.bbclass b/meta/classes/ext4-img.bbclass > index 65d4c11..1486c3e 100644 > --- a/meta/classes/ext4-img.bbclass > +++ b/meta/classes/ext4-img.bbclass > @@ -1,6 +1,8 @@ > # This software is a part of ISAR. > # Copyright (C) 2015-2016 ilbers GmbH > > +inherit isar-base > + > # Extra space for rootfs in MB > ROOTFS_EXTRA ?= "64" > > diff --git a/meta/classes/isar-base.bbclass b/meta/classes/isar-base.bbcla > ss > new file mode 100644 > index 0000000..67d38a1 > --- /dev/null > +++ b/meta/classes/isar-base.bbclass > @@ -0,0 +1,36 @@ > +# This software is a part of ISAR. > +# Copyright (C) 2017 Siemens AG > +# > +# Permission is hereby granted, free of charge, to any person obtaining a > +# copy of this software and associated documentation files (the > "Software"), > +# to deal in the Software without restriction, including without > limitation > +# the rights to use, copy, modify, merge, publish, distribute, sublicense, > +# and/or sell copies of the Software, and to permit persons to whom the > +# Software is furnished to do so, subject to the following conditions: > +# > +# The above copyright notice and this permission notice shall be included > +# in all copies or substantial portions of the Software. > +# > +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS > OR > +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR > +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, > +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > +# OTHER DEALINGS IN THE SOFTWARE. > + > +THISDIR = "${@os.path.dirname(d.getVar('FILE', True))}" > + > +bbdebug() { > + test $# -ge 2 || { > + echo "Usage: bbdebug level \"message\"" > + exit 1 > + } > + > + test ${@bb.msg.debug_level['default']} -ge $1 && { > + shift > + echo "DEBUG:" $* > + } > +} > + > +do_build[nostamp] = "0" > -- > 2.13.0 > > --001a114211e2a88d9805562eb647 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi again,

it looks like this patch doesn't work for Isar. 'b= ase.bbclass' is the one which is included by default to any bitbake ope= ration. In the default 'base.bbclass' there is one very bad line:

bitbake= /classes/base.bbclass:
51: do_build[nostamp] =3D "1"

This line disables stamps for = build tasks, it completely destroys the pipeline. In your patch you move th= e line: do_build[nostamp] =3D "0" to 'isar-base.bbclass'.= But to have this construction working you have to explicitely include this= class to *every* recipe in Isar, what looks for me as huge overhead.
=

2017-08-03 = 14:55 GMT+03:00 Henning Schild <henning.schild@siemens.com>= ;:
Do not use o= ur own copy of that class and move local deviations into
isar-base. That also fixes the default tasks "showdata" and "= ;listtasks",
which probably never worked.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
=C2=A0meta/classes/base.bbclass=C2=A0 =C2=A0 =C2=A0 | 81 +-----------------= ------------------------
=C2=A0meta/classes/dpkg.bbclass=C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 ++
=C2=A0meta/classes/ext4-img.bbclass=C2=A0 |=C2=A0 2 ++
=C2=A0meta/classes/isar-base.bbclass | 36 +++++++++++++++++++
=C2=A04 files changed, 41 insertions(+), 80 deletions(-)
=C2=A0mode change 100644 =3D> 120000 meta/classes/base.bbclass
=C2=A0create mode 100644 meta/classes/isar-base.bbclass

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
deleted file mode 100644
index 48b6bac..0000000
--- a/meta/classes/base.bbclass
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright (C) 2003=C2=A0 Chris Larson
-#
-# Permission is hereby granted, free of charge, to any person obtaining a<= br> -# copy of this software and associated documentation files (the "Soft= ware"),
-# to deal in the Software without restriction, including without limitatio= n
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,=
-# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included<= br> -# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND= , EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,=
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<= br> -# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -# OTHER DEALINGS IN THE SOFTWARE.
-
-THISDIR =3D "${@os.path.dirname(d.getVar('FILE', True))}= "
-
-die() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0bbfatal "$*"
-}
-
-bbnote() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "NOTE:" "$*"
-}
-
-bbwarn() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "WARNING:" "$*"
-}
-
-bbfatal() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "FATAL:" "$*"
-=C2=A0 =C2=A0 =C2=A0 =C2=A0exit 1
-}
-
-bbdebug() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0test $# -ge 2 || {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Usage: b= bdebug level \"message\""
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exit 1
-=C2=A0 =C2=A0 =C2=A0 =C2=A0}
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0test ${@bb.msg.debug_level['default= 9;]} -ge $1 && {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0shift
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0echo "DEBUG:&q= uot; $*
-=C2=A0 =C2=A0 =C2=A0 =C2=A0}
-}
-
-addtask showdata
-do_showdata[nostamp] =3D "1"
-python do_showdata() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0import sys
-=C2=A0 =C2=A0 =C2=A0 =C2=A0# emit variables and shell functions
-=C2=A0 =C2=A0 =C2=A0 =C2=A0bb.data.emit_env(sys.__stdout__, d, True)<= br> -=C2=A0 =C2=A0 =C2=A0 =C2=A0# emit the metadata which isnt valid shell
-=C2=A0 =C2=A0 =C2=A0 =C2=A0for e in bb.data.keys(d):
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if bb.data.getVarFl= ag(e, 'python', d):
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0sys.__stdout__.write("\npython %s () {\n%s}\n" % (= e, bb.data.getVar(e, d, 1)))
-}
-
-addtask listtasks
-do_listtasks[nostamp] =3D "1"
-python do_listtasks() {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0import sys
-=C2=A0 =C2=A0 =C2=A0 =C2=A0for e in bb.data.keys(d):
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if bb.data.getVarFl= ag(e, 'task', d):
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0sys.__stdout__.write("%s\n" % e)
-}
-
-addtask build
-do_build[dirs] =3D "${TOPDIR}"
-python base_do_build () {
-=C2=A0 =C2=A0 =C2=A0 =C2=A0bb.note("The included, default BB base.bbc= lass does not define a useful default task.")
-=C2=A0 =C2=A0 =C2=A0 =C2=A0bb.note("Try running the 'listtasks= 9; task against a .bb to see what tasks are defined.")
-}
-
-EXPORT_FUNCTIONS do_clean do_mrproper do_build
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
new file mode 120000
index 0000000..11fe0a4
--- /dev/null
+++ b/meta/classes/base.bbclass
@@ -0,0 +1 @@
+../../bitbake/classes/base.bbclass
\ No newline at end of file
diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index a0446d7..3d7aafb 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -1,6 +1,8 @@
=C2=A0# This software is a part of ISAR.
=C2=A0# Copyright (C) 2015-2016 ilbers GmbH

+inherit isar-base
+
=C2=A0# Add dependency from buildchroot creation
=C2=A0DEPENDS +=3D "buildchroot"
=C2=A0do_unpack[deptask] =3D "do_build"
diff --git a/meta/classes/ext4-img.bbclass b/meta/classes/ext4-img.bbc= lass
index 65d4c11..1486c3e 100644
--- a/meta/classes/ext4-img.bbclass
+++ b/meta/classes/ext4-img.bbclass
@@ -1,6 +1,8 @@
=C2=A0# This software is a part of ISAR.
=C2=A0# Copyright (C) 2015-2016 ilbers GmbH

+inherit isar-base
+
=C2=A0# Extra space for rootfs in MB
=C2=A0ROOTFS_EXTRA ?=3D "64"

diff --git a/meta/classes/isar-base.bbclass b/meta/classes/isar-base.b= bclass
new file mode 100644
index 0000000..67d38a1
--- /dev/null
+++ b/meta/classes/isar-base.bbclass
@@ -0,0 +1,36 @@
+# This software is a part of ISAR.
+# Copyright (C) 2017=C2=A0 Siemens AG
+#
+# Permission is hereby granted, free of charge, to any person obtaining a<= br> +# copy of this software and associated documentation files (the "Soft= ware"),
+# to deal in the Software without restriction, including without limitatio= n
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,=
+# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included<= br> +# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND= , EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,=
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<= br> +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE.
+
+THISDIR =3D "${@os.path.dirname(d.getVar('FILE', True))}= "
+
+bbdebug() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0test $# -ge 2 || {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Usage: b= bdebug level \"message\""
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exit 1
+=C2=A0 =C2=A0 =C2=A0 =C2=A0}
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0test ${@bb.msg.debug_level['default= 9;]} -ge $1 && {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0shift
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0echo "DEBUG:&q= uot; $*
+=C2=A0 =C2=A0 =C2=A0 =C2=A0}
+}
+
+do_build[nostamp] =3D "0"
= --
2.13.0


--001a114211e2a88d9805562eb647--