[Buildroot] [PATCH] toolchain-external: Fix paths in libstdc++ gdb python file
Trent Piepho
tpiepho at impinj.com
Fri Mar 29 22:11:13 UTC 2019
On Fri, 2019-03-29 at 22:04 +0000, Trent Piepho wrote:
>
> This patch uses sed to fixup the paths to reflect the installed
> location, relative to HOST_DIR, and the location of the python module
> relative to HOST_DIR.
>
>
> + -e "s:'($(TOOLCHAIN_EXTERNAL_ARM_ARM_PYTHON_DIR)):$(patsubst $(HOST_DIR)/%,/%,'$(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR))\1:" \
>
There's a typo in this line that my test didn't catch because the file
was already fixed when I re-ran the install after making a small
change.
Should have the second single quote moved to the beginning of the
replacement text.
+ -e "s:'($(TOOLCHAIN_EXTERNAL_ARM_ARM_PYTHON_DIR)):'$(patsubst $(HOST_DIR)/%,/%,$(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR))\1:" \>
More information about the buildroot
mailing list