Bug 11741

Summary: pigpio does not build host-pigpio.
Product: buildroot Reporter: Vishal Bhalani <vishalbhalani89>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, ivan.nazarenko
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Vishal Bhalani 2019-03-28 04:14:04 UTC
pigpio library was recently added into my project dependency but i realized it does not install into staging directory means not installed header and lib for cross compile for other application.
Comment 1 Ivan 2019-08-15 12:04:55 UTC
It is only 3 ".h" files that are not being installed in staging.
Just adding these 3 lines to pigpio.mk would solve this issue:

diff a/package/pigpio.mk b/package/pigpio.mk
22a23,25
> 	$(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
Comment 2 Thomas Petazzoni 2019-08-15 13:44:10 UTC
I have submitted http://patchwork.ozlabs.org/patch/1147605/ to address this issue.