[Buildroot] [PATCH 1/1] openocd bump to 0.8.0

Claudio Laurita claudio.laurita at integrazionetotale.it
Thu Oct 9 15:13:26 UTC 2014


Il 09/10/2014 13:28, Thomas Petazzoni ha scritto:
> No, it's buggy: the OpenOCD build system is based on the autotools, 
> and the autotools normally guarantee that you can do: --enable-foo 
> --disable-foo and be sure that "foo" will be disabled. The fact that 
> OpenOCD doesn't comply with that makes it incorrect. The reason why we 
> don't allow to change the base options is because you never need to do 
> so: you can override them as I just exposed above. And the build 
> system of OpenOCD is really buggy: if you specify --enable-shared 
> --enable-static, it builds a shared variant of jimtcl, but OpenOCD 
> tries to link against the static variant. This is not coherent at all. 

OK, let's opt for buggy.

> Another option you could look at is to use the existing Buildroot 
> jimtcl package, instead of relying on the jimtcl implementation built 
> into OpenOCD. I've seen that OpenOCD has an option to use an external 
> jimtcl implementation. Best regards, Thomas 

I was aware of the external option, but the actual BR package script for 
jimtcl suffers exactly of the same problem. No patches applied there and 
no autotools-package called. A custom configure command and 
generic-package management. But no way to build a static library if 
--enable-shared is globally adopted.

Anyway, I collected enough information to start working on release 2. 
Just need some spare hours, now.

Thanks a lot
Claudio


More information about the buildroot mailing list