All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32
@ 2016-09-16 16:34 Andrei Gherzan
  2016-09-16 16:34 ` [meta-raspberrypi][PATCH 2/3] wiringpi: Fix prepend space Andrei Gherzan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrei Gherzan @ 2016-09-16 16:34 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-devtools/wiringPi/wiringpi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/wiringPi/wiringpi_git.bb b/recipes-devtools/wiringPi/wiringpi_git.bb
index 9d2206b..f2cacd3 100644
--- a/recipes-devtools/wiringPi/wiringpi_git.bb
+++ b/recipes-devtools/wiringPi/wiringpi_git.bb
@@ -4,8 +4,8 @@ SECTION = "devel/libs"
 LICENSE = "LGPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-# tag 2.29
-SRCREV = "d79506694d7ba1c3da865d095238289d6175057d"
+# tag 2.32
+SRCREV = "b0a60c3302973ca1878d149d61f2f612c8f27fac"
 
 S = "${WORKDIR}/git"
 
-- 
2.9.3



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

* [meta-raspberrypi][PATCH 2/3] wiringpi: Fix prepend space
  2016-09-16 16:34 [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
@ 2016-09-16 16:34 ` Andrei Gherzan
  2016-09-16 16:34 ` [meta-raspberrypi][PATCH 3/3] wiringPi: Fix compilation of libraries Andrei Gherzan
  2016-09-21 10:39 ` [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
  2 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2016-09-16 16:34 UTC (permalink / raw)
  To: yocto

Not having this correctly will get you into troubles like:

| gpio.c:40:23: fatal error: gertboard.h: No such file or directory
|  #include <gertboard.h>

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 recipes-devtools/wiringPi/wiringpi_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-devtools/wiringPi/wiringpi_git.bb b/recipes-devtools/wiringPi/wiringpi_git.bb
index f2cacd3..c337b19 100644
--- a/recipes-devtools/wiringPi/wiringpi_git.bb
+++ b/recipes-devtools/wiringPi/wiringpi_git.bb
@@ -16,7 +16,7 @@ SRC_URI = "git://git.drogon.net/wiringPi \
 
 COMPATIBLE_MACHINE = "raspberrypi"
 
-CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib"
+CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib "
 
 EXTRA_OEMAKE += "'INCLUDE_DIR=${D}${includedir}' 'LIB_DIR=${D}${libdir}'"
 EXTRA_OEMAKE += "'DESTDIR=${D}/usr' 'PREFIX=""'"
-- 
2.9.3



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

* [meta-raspberrypi][PATCH 3/3] wiringPi: Fix compilation of libraries
  2016-09-16 16:34 [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
  2016-09-16 16:34 ` [meta-raspberrypi][PATCH 2/3] wiringpi: Fix prepend space Andrei Gherzan
@ 2016-09-16 16:34 ` Andrei Gherzan
  2016-09-21 10:39 ` [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
  2 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2016-09-16 16:34 UTC (permalink / raw)
  To: yocto

Not using the yocto LDFLAGS will make some qa tests fail:

ERROR: wiringpi-git-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary:
'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/wiringpi/git-r0/packages-split/wiringpi/usr/lib/libwiringPi.so.2.32'
No GNU_HASH in the elf binary:
'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/wiringpi/git-r0/packages-split/wiringpi/usr/lib/libwiringPiDev.so.2.32'
[ldflags]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 .../wiringPi/files/0001-Add-initial-cross-compile-support.patch       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch b/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch
index ed47fab..603422c 100644
--- a/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch
+++ b/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch
@@ -51,7 +51,7 @@ index 0fb0033..cbea759 100644
  $(DYNAMIC):	$(OBJ)
  	$Q echo "[Link (Dynamic)]"
 -	$Q $(CC) -shared -Wl,-soname,libwiringPiDev.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPiDev.so.$(VERSION) -lpthread $(OBJ)
-+	$Q $(CC) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ)
++	$Q $(CC) -shared $(LDFLAGS) -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ)
  
  .c.o:
  	$Q echo [Compile] $<
@@ -341,7 +341,7 @@ index 6bbcc5d..5355b74 100644
  $(DYNAMIC):	$(OBJ)
  	$Q echo "[Link (Dynamic)]"
 -	$Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPi.so.$(VERSION) -lpthread $(OBJ)
-+	$Q $(CC) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ)
++	$Q $(CC) $(LDFLAGS) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ)
  
  .c.o:
  	$Q echo [Compile] $<
-- 
2.9.3



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

* Re: [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32
  2016-09-16 16:34 [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
  2016-09-16 16:34 ` [meta-raspberrypi][PATCH 2/3] wiringpi: Fix prepend space Andrei Gherzan
  2016-09-16 16:34 ` [meta-raspberrypi][PATCH 3/3] wiringPi: Fix compilation of libraries Andrei Gherzan
@ 2016-09-21 10:39 ` Andrei Gherzan
  2 siblings, 0 replies; 4+ messages in thread
From: Andrei Gherzan @ 2016-09-21 10:39 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

On Fri, Sep 16, 2016 at 05:34:35PM +0100, Andrei Gherzan wrote:
> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>  recipes-devtools/wiringPi/wiringpi_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-devtools/wiringPi/wiringpi_git.bb b/recipes-devtools/wiringPi/wiringpi_git.bb
> index 9d2206b..f2cacd3 100644
> --- a/recipes-devtools/wiringPi/wiringpi_git.bb
> +++ b/recipes-devtools/wiringPi/wiringpi_git.bb
> @@ -4,8 +4,8 @@ SECTION = "devel/libs"
>  LICENSE = "LGPLv3+"
>  LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
>
> -# tag 2.29
> -SRCREV = "d79506694d7ba1c3da865d095238289d6175057d"
> +# tag 2.32
> +SRCREV = "b0a60c3302973ca1878d149d61f2f612c8f27fac"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.9.3
>

Merged to master.

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

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

end of thread, other threads:[~2016-09-21 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-16 16:34 [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan
2016-09-16 16:34 ` [meta-raspberrypi][PATCH 2/3] wiringpi: Fix prepend space Andrei Gherzan
2016-09-16 16:34 ` [meta-raspberrypi][PATCH 3/3] wiringPi: Fix compilation of libraries Andrei Gherzan
2016-09-21 10:39 ` [meta-raspberrypi][PATCH 1/3] wiringpi: Update to 2.32 Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.