Skip to contentSkip to conversation

i2c-tools: fix libdir for multilib

PATCH In review [email protected] 2 participants 3 messages Jan 31, 2018

lore
Share & tools
lore
#0 lore raw

cover i2c-tools: fix libdir for multilib

From: Kai Kang <[email protected]>

The following changes since commit e5e89cfb7bc2231ac4fcc16f4cb4f74d806136c4:

pulseaudio: improve glibc 2.27 patch (2018-01-30 12:53:16 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib kangkai/i2c
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/i2c

Kai Kang (1):
i2c-tools: fix libdir for multilib

 meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb | 2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 i2c-tools: fix libdir for multilib

From: Kai Kang <[email protected]>

It set variable libdir with $(prefix)/lib in makefile which is not right when multilib is enabled. Correct it with ${libdir}.

---
 meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb +2 -0
index e936fd759b..4b2ec712bf 100644
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f07
 
 inherit autotools-brokensep
 
+EXTRA_OEMAKE = "libdir=${libdir}"
+
 do_compile_prepend() {
     sed -i 's#/usr/local#/usr#' ${S}/Makefile
     echo "include eeprog/Module.mk" >> ${S}/Makefile
Signature · 1 line
2.14.1
#2 lore raw

meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f07 · line 22

Quoted 8 lines · On 31 January 2018 at 09:44, <[email protected]> wrote:

inherit autotools-brokensep

meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb +2 -0
+EXTRA_OEMAKE = "libdir=${libdir}"
+
 do_compile_prepend() {
     sed -i 's#/usr/local#/usr#' ${S}/Makefile
     echo "include eeprog/Module.mk" >> ${S}/Makefile

The context of autotools-brokensep and seding of the Makefile made me suspicious, so I'm rejecting this patch because I've just rewritten the entire recipe... :)

Ross