[Buildroot] Configuring the gpsd package
thomas.petazzoni at free-electrons.com
Tue Jan 28 17:33:40 UTC 2014
Dear Baruch Siach,
On Mon, 6 Jan 2014 17:56:37 +0200, Baruch Siach wrote:
> > Anyway, I was able to run the gpsd and use the it in spite of probably not
> > having the two dependencies. My questions are:
> > 1. What is the purpose of the two dependencies?
> As the comment above the MMU dependency says, the gpsd code uses fork(). This
> system call is not available on non-MMU systems. The same goes for threads
> support. The package uses the pthreads API, and doesn't build without it.
> > 2. How come I was able to use the daemon anyway?
> Apparently you are using an external toolchain. When using an external
> toolchain you need to explicitly tell Buildroot whether you toolchain includes
> threading supports.
Correct, but Buildroot checks the selection the user has made in
menuconfig against the real configuration of the toolchain, and if they
don't match, the Buildroot build doesn't even start. Therefore, there
is normally no way to do an incorrect configuration here.
> As to MMU, for some reason this is option is disabled on your configuration,
> although clearly your target has MMU enabled.
Where have you seen Gabi's .config ? I've gone through this thread
again, and I haven't seen his .config.
That being said, Gabi uses a 3+ years old Buildroot, and refuses to
share his changes, so I must say that the incentive to provide some
free support in such a situation is fairly low.
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
More information about the buildroot