Bug 11741 - pigpio does not build host-pigpio.
Summary: pigpio does not build host-pigpio.
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-28 04:14 UTC by Vishal Bhalani
Modified: 2019-08-19 21:08 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.