whitequark / libfx2

Chip support package for Cypress EZ-USB FX2 series microcontrollers
BSD Zero Clause License
73 stars 26 forks source link

compatibility with sdcc 4.3.0: emit build/.d files through a separate command #15

Closed carlossless closed 8 months ago

carlossless commented 8 months ago

Implementing the two-pass solution mentioned here as the one originally implemented as part of #13 wasn't accepted.

I am unsure whether this should be a separate rule or part of the previously existing one, so please tell me whatever is more preferred here.

I've tested this on sdcc 4.2.0 and 4.3.0 and in both cases, compilation happens without error, and build/*.d files contain expected contents. Hopefully, I haven't missed something.

Related: https://github.com/whitequark/libfx2/issues/11#issuecomment-1910613239

carlossless commented 8 months ago

Perfectly happy with this, thank you. Do you need a release after this is merged?

Awesome! Yeah, a release would be great for pushing forward https://github.com/NixOS/nixpkgs/pull/265651.

RE https://github.com/whitequark/libfx2/issues/11#issuecomment-1910640372: I also just tested this against sdcc v4.4.0-rc3 and didn't encounter any failures. CC @spth

whitequark commented 8 months ago

Version 0.13 released, thanks @carlossless!