Hi Liviu,
thanks for spotting and reporting this.
Please check https://review.openocd.org/c/openocd/+/8740

Antonio

On Thu, Feb 6, 2025 at 11:28 AM Liviu Ionescu <i...@livius.net> wrote:
>
> Hi,
>
> I noticed that in the latest builds a new folder `angie` is installed below 
> `openocd` in the distribution.
>
> Unfortunately, the name has two trailing spaces, and some installs on Windows 
> fail. (the spaces are also present on Linux/macOS, but I did not receive any 
> complains yet).
>
> I did a quick diagnose and the problem seems caused by the lack of quotes and 
> the comment in the src/jtag/drivers/Makefile.am file:
>
> ```
> if ANGIE
>   angiedir = $(pkgdatadir)/angie  # This is only for dist_angie_DATA.
>   DRIVERFILES     += %D%/angie.c
>   DRIVERFILES     += %D%/angie/include/msgtypes.h
>   EXTRA_DIST      += %D%/angie/README
>   dist_angie_DATA  = %D%/angie/angie_firmware.bin
>   dist_angie_DATA += %D%/angie/angie_bitstream.bit
>   %C%_libocdjtagdrivers_la_LIBADD += -lm
> endif
> ```
>
> For my builds I hacked the sources right after cloning the repo with a sed:
>
> ```
> sed -i.bak -e 's| # This is only for dist_angie_DATA.||' 
> src/jtag/drivers/Makefile.am
> ```
>
> This solved my builds, but a proper fix is needed.
>
>
> Regards,
>
> Liviu
>
>
>

Reply via email to