* [Buildroot] [PATCH] package/pigpio: install to staging
@ 2019-08-15 13:43 Thomas Petazzoni
2019-08-19 20:43 ` Thomas Petazzoni
2019-09-02 15:34 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-08-15 13:43 UTC (permalink / raw)
To: buildroot
The pigpio package installs programs and libraries to target, but does
not install the libraries and its headers to staging, while they may
be used by other packages. Let's install them, as was requested in bug
Fixes:
https://bugs.busybox.net/show_bug.cgi?id=11741
Cc: vishalbhalani89 at gmail.com
Cc: ivan.nazarenko at gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/pigpio/pigpio.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/pigpio/pigpio.mk b/package/pigpio/pigpio.mk
index dc60204aab..ed83d83790 100644
--- a/package/pigpio/pigpio.mk
+++ b/package/pigpio/pigpio.mk
@@ -8,6 +8,7 @@ PIGPIO_VERSION = 68
PIGPIO_SITE = $(call github,joan2937,pigpio,V$(PIGPIO_VERSION))
PIGPIO_LICENSE = Unlicense
PIGPIO_LICENSE_FILES = UNLICENCE
+PIGPIO_INSTALL_STAGING = YES
define PIGPIO_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
@@ -22,4 +23,13 @@ define PIGPIO_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/libpigpiod_if2.so $(TARGET_DIR)/usr/lib/libpigpiod_if2.so
endef
+define PIGPIO_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/libpigpio.so $(STAGING_DIR)/usr/lib/libpigpio.so
+ $(INSTALL) -D -m 0755 $(@D)/libpigpiod_if.so $(STAGING_DIR)/usr/lib/libpigpiod_if.so
+ $(INSTALL) -D -m 0755 $(@D)/libpigpiod_if2.so $(STAGING_DIR)/usr/lib/libpigpiod_if2.so
+ $(INSTALL) -D -m 0644 $(@D)/pigpio.h $(STAGING_DIR)/usr/include/pigpio.h
+ $(INSTALL) -D -m 0644 $(@D)/pigpiod_if.h $(STAGING_DIR)/usr/include/pigpiod_if.h
+ $(INSTALL) -D -m 0644 $(@D)/pigpiod_if2.h $(STAGING_DIR)/usr/include/pigpiod_if2.h
+endef
+
$(eval $(generic-package))
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/pigpio: install to staging
2019-08-15 13:43 [Buildroot] [PATCH] package/pigpio: install to staging Thomas Petazzoni
@ 2019-08-19 20:43 ` Thomas Petazzoni
2019-09-02 15:34 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-08-19 20:43 UTC (permalink / raw)
To: buildroot
On Thu, 15 Aug 2019 15:43:21 +0200
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> The pigpio package installs programs and libraries to target, but does
> not install the libraries and its headers to staging, while they may
> be used by other packages. Let's install them, as was requested in bug
>
> Fixes:
>
> https://bugs.busybox.net/show_bug.cgi?id=11741
>
> Cc: vishalbhalani89 at gmail.com
> Cc: ivan.nazarenko at gmail.com
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> package/pigpio/pigpio.mk | 10 ++++++++++
> 1 file changed, 10 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/pigpio: install to staging
2019-08-15 13:43 [Buildroot] [PATCH] package/pigpio: install to staging Thomas Petazzoni
2019-08-19 20:43 ` Thomas Petazzoni
@ 2019-09-02 15:34 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-02 15:34 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> The pigpio package installs programs and libraries to target, but does
> not install the libraries and its headers to staging, while they may
> be used by other packages. Let's install them, as was requested in bug
> Fixes:
> https://bugs.busybox.net/show_bug.cgi?id=11741
> Cc: vishalbhalani89 at gmail.com
> Cc: ivan.nazarenko at gmail.com
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2019.02.x and 2019.05.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-02 15:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15 13:43 [Buildroot] [PATCH] package/pigpio: install to staging Thomas Petazzoni
2019-08-19 20:43 ` Thomas Petazzoni
2019-09-02 15:34 ` Peter Korsgaard
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.