Attached to Project: CRUX-ARM
Opened by Mike - 2019-08-18
Last edited by Victor Martinez - 2019-08-19

FS#78 - toolchain: gcc-static unnecessarily rebuilt

gcc-static is unnecessarily rebuilt each time make is invoked due to an incorrect filename extension in the Makefile target definition. Patch follows:

diff –git a/Makefile b/Makefile
index 4ab3882..568739d 100644
— a/Makefile
+++ b/Makefile
@@ -173,10 +173,10 @@ binutils-distclean: binutils-clean


      wget -P $(WORK) -c$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.xz

-$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2
+$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.xz

      tar -C $(WORK) -xf $(WORK)/gcc-$(GCC_VERSION).tar.xz
      touch $(WORK)/gcc-$(GCC_VERSION)
Closed by  Victor Martinez
Monday, 19 August 2019, 10:50 GMT
Reason for closing:  Fixed
Project Manager
Victor Martinez commented on Monday, 19 August 2019, 10:50 GMT


Available keyboard shortcuts


Task Details

Task Editing