From 7ae4716243dda59bcff21ba0ee704322b2db10f4 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 7 Feb 2023 21:33:33 +0100 Subject: toolchain: remove installing twice in the "initial" subdir This was apparently introduced to recreate the toolchain (wipe staging_dir/toolchain*, but keep build_dir/toolchain*, followed by a `make toolchain/compile`). But it leaves leftovers and causes re-links to happen at src_install phase, because of the changed paths, possibly adding yet another source of issues. With the prior commits removing various hacks related to the "initial" folder we can remove installing it twice altogether. The recreated toolchain is exactly the same as before. Signed-off-by: Andre Heider --- toolchain/gcc/initial/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/initial/Makefile b/toolchain/gcc/initial/Makefile index 102fc070ae..7cb4a73dbc 100644 --- a/toolchain/gcc/initial/Makefile +++ b/toolchain/gcc/initial/Makefile @@ -19,12 +19,10 @@ endef define Host/Install +$(GCC_MAKE) $(HOST_JOBS) -C $(GCC_BUILD_DIR) \ - prefix="$(TOOLCHAIN_DIR)/initial" \ install-gcc \ install-target-libgcc - $(call FixupLibdir,$(TOOLCHAIN_DIR)/initial) - $$(call file_copy,$(TOOLCHAIN_DIR)/initial/.,$(TOOLCHAIN_DIR)/) + $(call FixupLibdir,$(TOOLCHAIN_DIR)) endef $(eval $(call HostBuild)) -- cgit v1.2.3