public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3] libhello: Add libhello
       [not found] <20180208132508.15244-1-asmirnov@ilbers.de>
@ 2018-02-08 13:27 ` Alexander Smirnov
  2018-02-08 17:53   ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Smirnov @ 2018-02-08 13:27 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

8<--

Added comment regarding DEPENDS.

8<--

'libhello' package intended to demonstrate Isar build dependencies between
recipes.

Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 meta-isar/recipes-app/example-hello/example-hello.bb |  8 ++++++--
 meta-isar/recipes-app/libhello/libhello.bb           | 18 ++++++++++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)
 create mode 100644 meta-isar/recipes-app/libhello/libhello.bb

diff --git a/meta-isar/recipes-app/example-hello/example-hello.bb b/meta-isar/recipes-app/example-hello/example-hello.bb
index 602a11e..9d83e4c 100644
--- a/meta-isar/recipes-app/example-hello/example-hello.bb
+++ b/meta-isar/recipes-app/example-hello/example-hello.bb
@@ -8,10 +8,14 @@ DESCRIPTION = "Sample application for ISAR"
 LICENSE = "gpl-2.0"
 LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
 
-PV = "0.2+7bf716d2"
+PV = "0.2-86cc719"
+
+# NOTE: the following line duplicates the content in 'debian/control', but
+#       for now it's the only way to correctly build bitbake pipeline.
+DEPENDS += "libhello"
 
 SRC_URI = "git://github.com/ilbers/hello.git;protocol=https"
-SRCREV = "7bf716d22dbdb5a83edf0fe6134c0500f1a8b1f0"
+SRCREV = "86cc719b3359adc3c4e243387feba50360a860f3"
 
 SRC_DIR = "git"
 
diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb
new file mode 100644
index 0000000..df5793e
--- /dev/null
+++ b/meta-isar/recipes-app/libhello/libhello.bb
@@ -0,0 +1,18 @@
+# Sample shared library
+#
+# This software is a part of ISAR.
+# Copyright (C) 2017-2018 ilbers GmbH
+
+DESCRIPTION = "Sample shared library for ISAR"
+
+LICENSE = "gpl-2.0"
+LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
+
+PV = "0.1-98f2e41"
+
+SRC_URI = "git://github.com/ilbers/libhello.git;protocol=https"
+SRCREV = "98f2e41e7d05ab8d19b0c5d160b104b725c8fd93"
+
+SRC_DIR = "git"
+
+inherit dpkg
-- 
2.1.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3] libhello: Add libhello
  2018-02-08 13:27 ` [PATCH v3] libhello: Add libhello Alexander Smirnov
@ 2018-02-08 17:53   ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2018-02-08 17:53 UTC (permalink / raw)
  To: Alexander Smirnov, isar-users

On 2018-02-08 14:27, Alexander Smirnov wrote:
> 8<--
> 
> Added comment regarding DEPENDS.
> 
> 8<--
> 
> 'libhello' package intended to demonstrate Isar build dependencies between
> recipes.
> 
> Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
> ---
>  meta-isar/recipes-app/example-hello/example-hello.bb |  8 ++++++--
>  meta-isar/recipes-app/libhello/libhello.bb           | 18 ++++++++++++++++++
>  2 files changed, 24 insertions(+), 2 deletions(-)
>  create mode 100644 meta-isar/recipes-app/libhello/libhello.bb
> 
> diff --git a/meta-isar/recipes-app/example-hello/example-hello.bb b/meta-isar/recipes-app/example-hello/example-hello.bb
> index 602a11e..9d83e4c 100644
> --- a/meta-isar/recipes-app/example-hello/example-hello.bb
> +++ b/meta-isar/recipes-app/example-hello/example-hello.bb
> @@ -8,10 +8,14 @@ DESCRIPTION = "Sample application for ISAR"
>  LICENSE = "gpl-2.0"
>  LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
>  
> -PV = "0.2+7bf716d2"
> +PV = "0.2-86cc719"
> +
> +# NOTE: the following line duplicates the content in 'debian/control', but
> +#       for now it's the only way to correctly build bitbake pipeline.
> +DEPENDS += "libhello"

Minor, but given that this recipe does not include anything prior to
that line, DEPENDS = "..." would be cleaner.

Jan

>  
>  SRC_URI = "git://github.com/ilbers/hello.git;protocol=https"
> -SRCREV = "7bf716d22dbdb5a83edf0fe6134c0500f1a8b1f0"
> +SRCREV = "86cc719b3359adc3c4e243387feba50360a860f3"
>  
>  SRC_DIR = "git"
>  
> diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb
> new file mode 100644
> index 0000000..df5793e
> --- /dev/null
> +++ b/meta-isar/recipes-app/libhello/libhello.bb
> @@ -0,0 +1,18 @@
> +# Sample shared library
> +#
> +# This software is a part of ISAR.
> +# Copyright (C) 2017-2018 ilbers GmbH
> +
> +DESCRIPTION = "Sample shared library for ISAR"
> +
> +LICENSE = "gpl-2.0"
> +LIC_FILES_CHKSUM = "file://${LAYERDIR_isar}/licenses/COPYING.GPLv2;md5=751419260aa954499f7abaabaa882bbe"
> +
> +PV = "0.1-98f2e41"
> +
> +SRC_URI = "git://github.com/ilbers/libhello.git;protocol=https"
> +SRCREV = "98f2e41e7d05ab8d19b0c5d160b104b725c8fd93"
> +
> +SRC_DIR = "git"
> +
> +inherit dpkg
> 

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-08 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180208132508.15244-1-asmirnov@ilbers.de>
2018-02-08 13:27 ` [PATCH v3] libhello: Add libhello Alexander Smirnov
2018-02-08 17:53   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox