picocom: bump to version 2.2
PATCH 1/2 picocom: bump to version 2.2
--- package/picocom/picocom.hash | 2 +- package/picocom/picocom.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/picocom/picocom.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 6b152fc5f816eaef6b86336a4cec7cf1496b7c712061e5aea5a36f143a0b09ed picocom-2.1.tar.gz +sha256 3e3904158d675541f0fcfdcd1f671b38445338f536080f5de8d6674b5f33d4ce picocom-2.2.tar.gz
package/picocom/picocom.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -PICOCOM_VERSION = 2.1 +PICOCOM_VERSION = 2.2 PICOCOM_SITE = $(call github,npat-efault,picocom,$(PICOCOM_VERSION)) PICOCOM_LICENSE = GPL-2.0+ PICOCOM_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.11.0
PATCH 2/2 picocom: force target LDFLAGS
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries.
--- package/picocom/picocom.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/picocom/picocom.mk +2 -1
@@ -10,7 +10,8 @@ PICOCOM_LICENSE = GPL-2.0+ PICOCOM_LICENSE_FILES = LICENSE.txt define PICOCOM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) endef define PICOCOM_INSTALL_TARGET_CMDS
Signature · 1 line
2.11.0
PATCH 2/2 picocom: force target LDFLAGS
Hello,
Quoted 13 lines · Baruch Siach
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries.
Signed-off-by Baruch Siach <[email protected]>--- package/picocom/picocom.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/picocom/picocom.mk +0
-0
package/picocom/picocom.mk PICOCOM_LICENSE = GPL-2.0+ · line 14
Quoted 6 lines
package/picocom/picocom.mk +2
-1@@ -10,7 +10,8 @@ PICOCOM_LICENSE = GPL-2.0+ PICOCOM_LICENSE_FILES = LICENSE.txt define PICOCOM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
We already pass LDFLAGS in $(TARGET_CONFIGURE_OPTS). Should we pass $(TARGET_CONFIGURE_OPTS) on the right hand side of $(MAKE) ?
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 2/2 picocom: force target LDFLAGS
Hi Thomas,
Quoted 16 lines · Thomas Petazzoni
Quoted 15 lines · Baruch Siach
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries.
Signed-off-by Baruch Siach <[email protected]>--- package/picocom/picocom.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/picocom/picocom.mk +0
-0@@ -10,7 +10,8 @@ PICOCOM_LICENSE = GPL-2.0+ PICOCOM_LICENSE_FILES = LICENSE.txt
Quoted 7 lines
package/picocom/picocom.mk PICOCOM_LICENSE = GPL-2.0+ · line 14
Quoted 4 lines
package/picocom/picocom.mk +2
-1define PICOCOM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)We already pass LDFLAGS in $(TARGET_CONFIGURE_OPTS). Should we pass $(TARGET_CONFIGURE_OPTS) on the right hand side of $(MAKE) ?
That would overwrite CPPFLAGS that picocom Makefile uses for some seemingly useful macros.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 2/2 picocom: force target LDFLAGS
In reply to Baruch SiachQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries.
Signed-off-by Baruch Siach <[email protected]>
Committed, thanks.
Is this only an issue for picocom 2.2, or also something we should backport for the 2017.02.x branch?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 picocom: force target LDFLAGS
Hi Peter,
Quoted 11 lines · Peter Korsgaard
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries.
Signed-off-by Baruch Siach <[email protected]>Committed, thanks.
Is this only an issue for picocom 2.2, or also something we should backport for the 2017.02.x branch?
Version 2.1 is also affected. But I'm not sure the issue is bad enough for a backport.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 2/2 picocom: force target LDFLAGS
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Hi,
Quoted 7 lines
Quoted 4 lines
Committed, thanks.
Is this only an issue for picocom 2.2, or also something we should backport for the 2017.02.x branch?
Version 2.1 is also affected. But I'm not sure the issue is bad enough for a backport.
Ok, thanks.
I think the risk of it breaking something is quite low, and it does fix possible use cases, so it is imho a candidate for a backport.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/2 picocom: force target LDFLAGS
Quoted 12 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Baruch" == Baruch Siach <[email protected]> writes:
Hi,
Quoted 7 lines
Quoted 4 lines
Committed, thanks.
Is this only an issue for picocom 2.2, or also something we should backport for the 2017.02.x branch?
Version 2.1 is also affected. But I'm not sure the issue is bad enough for a backport.
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 picocom: bump to version 2.2
In reply to Baruch SiachQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
Signed-off-by Baruch Siach <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard