[Buildroot] [PATCH v2] Fix 'make toolchain-external-reinstall'
Jérôme Pouiller
jezz at sysmic.org
Tue Sep 27 21:38:44 UTC 2016
(reviewing myself)
On Tuesday 27 September 2016 23:05:32 Jérôme Pouiller wrote:
[...]
> -# For simplicity, build directly into the install location
> -define TOOLCHAIN_BUILD_WRAPPER
> - $(Q)mkdir -p $(HOST_DIR)/usr/bin
> +define TOOLCHAIN_WRAPPER_BUILD
> $(HOSTCC) $(HOST_CFLAGS) $(TOOLCHAIN_WRAPPER_ARGS) \
> -s -Wl,--hash-style=$(TOOLCHAIN_WRAPPER_HASH_STYLE) \
> toolchain/toolchain-wrapper.c \
> - -o $(HOST_DIR)/usr/bin/toolchain-wrapper
> + -o $(@D)/toolchain-wrapper
> +endef
> +
> +define TOOLCHAIN_WRAPPER_INSTALL
> + $(INSTALL) -D -m 0755 toolchain/toolchain-wrapper \
> + $(HOST_DIR)/usr/bin/toolchain-wrapper
> endef
I have forgotten to call TOOLCHAIN_WRAPPER_INSTALL from gcc-initial/gcc-
final.
--
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr
More information about the buildroot
mailing list