wiringpi: Update to 2.32
PATCH 1/3 wiringpi: Update to 2.32
--- recipes-devtools/wiringPi/wiringpi_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-devtools/wiringPi/wiringpi_git.bb +2 -2
@@ -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"
Signature · 1 line
2.9.3
PATCH 2/3 wiringpi: Fix prepend space
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>
--- recipes-devtools/wiringPi/wiringpi_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/wiringPi/wiringpi_git.bb +1 -1
@@ -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=""'"
Signature · 1 line
2.9.3
PATCH 3/3 wiringPi: Fix compilation of libraries
In reply to Andrei GherzanNot 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]
--- .../wiringPi/files/0001-Add-initial-cross-compile-support.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch +2 -2
@@ -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] $<
Signature · 1 line
2.9.3
Andrei Gherzan
AppliedQuoted 21 lines · Andrei Gherzan
Signed-off-by Andrei Gherzan <[email protected]>--- recipes-devtools/wiringPi/wiringpi_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-devtools/wiringPi/wiringpi_git.bb +2
-3@@ -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" --
Quoted 2 lines
2.9.3
Merged to master.
--
Andrei Gherzan