mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
Use more sensible names for the external/ctng targets
Instead of using the 'uclibc' target for all toolchain backends, introduce more sensible target names for the external toolchain and Crosstool-NG toolchain backend make targets. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
d21a176bd5
commit
e57e4b96bf
@@ -539,10 +539,9 @@ $(HOST_DIR)/usr/bin/ext-toolchain-wrapper: $(TOOLCHAIN_EXTERNAL_INSTALL)
|
||||
$(HOSTCC) $(HOST_CFLAGS) $(TOOLCHAIN_EXTERNAL_WRAPPER_ARGS) -s -Wl,--hash-style=both \
|
||||
toolchain/toolchain-external/ext-toolchain-wrapper.c -o $@
|
||||
|
||||
# 'uclibc' is the target to provide toolchain / staging dir
|
||||
uclibc: dependencies $(HOST_DIR)/usr/bin/ext-toolchain-wrapper
|
||||
toolchain-external: dependencies $(HOST_DIR)/usr/bin/ext-toolchain-wrapper
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
|
||||
# download ext toolchain if so configured
|
||||
uclibc-source: $(addprefix $(DL_DIR)/,$(TOOLCHAIN_EXTERNAL_SOURCE))
|
||||
toolchain-external-source: $(addprefix $(DL_DIR)/,$(TOOLCHAIN_EXTERNAL_SOURCE))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user