mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] host-libcap dependency on host-gperf
@ 2017-02-07 17:08 Clemens Gruber
  2017-02-08 12:00 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Gruber @ 2017-02-07 17:08 UTC (permalink / raw)
  To: ptxdist

Hi,

I noticed that the host-libcap package fails to build if host-gperf has
not been built yet.
There are two possible solutions:
1) Add a dependency to host-gperf (select HOST_GPERF in host-libcap.in?)
2) Add BUILD_GPERF=no to host-libcap's MAKE_OPTS.

First I tried 1 but this does not seem to pull in host-gperf before
building host-libcap. Is something like depends on HOST_GPERF necessary?

Thanks,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] host-libcap dependency on host-gperf
  2017-02-07 17:08 [ptxdist] host-libcap dependency on host-gperf Clemens Gruber
@ 2017-02-08 12:00 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2017-02-08 12:00 UTC (permalink / raw)
  To: ptxdist

On Tue, Feb 07, 2017 at 06:08:27PM +0100, Clemens Gruber wrote:
> Hi,
> 
> I noticed that the host-libcap package fails to build if host-gperf has
> not been built yet.
> There are two possible solutions:
> 1) Add a dependency to host-gperf (select HOST_GPERF in host-libcap.in?)
> 2) Add BUILD_GPERF=no to host-libcap's MAKE_OPTS.

From what I can tell, using gperf is just an optimization. So I think we
can use '2)' for host-libcap and '1)' for libcap.

> First I tried 1 but this does not seem to pull in host-gperf before
> building host-libcap. Is something like depends on HOST_GPERF necessary?

'select HOST_GPERF' should work. Did you run 'ptxdist oldconfig'
afterwards? You can also check the generated dependencies:

$ grep host-libcap platform-*/state/ptx_dgen_deps.post

You should see the deps on host-gperf here.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-08 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07 17:08 [ptxdist] host-libcap dependency on host-gperf Clemens Gruber
2017-02-08 12:00 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox