1
0
mirror of https://gitlab.os-k.eu/os-k-team/cross-cc-builder.git synced 2023-08-25 14:03:10 +02:00

Correcting a critical error caused by exchanged dependencies between recipes

This commit is contained in:
Adrien Bourmault 2020-06-27 00:17:46 +02:00
parent dae7fcea87
commit 70131df3ee
No known key found for this signature in database
GPG Key ID: AFEE5788AEE3F4EC

View File

@ -78,12 +78,12 @@ $(BINUTILSTARNAME):
@echo ${CL2}[$@] ${CL}Success.${CL3}
$(GCC_NAME): $(BINUTILSTARNAME)
$(GCC_NAME): $(GCCTARNAME)
@echo ${CL2}[$@] ${NC}Deflate $(GCC_NAME) sources...${CL3}
@tar -xaf $(GCCTARNAME) --skip-old-files
@echo ${CL2}[$@] ${CL}Success.${CL3}
$(BINUTILS_NAME): $(GCCTARNAME)
$(BINUTILS_NAME): $(BINUTILSTARNAME)
@echo ${CL2}[$@] ${NC}Deflate $(BINUTILS_NAME) sources...${CL3}
@tar -xaf $(BINUTILSTARNAME) --skip-old-files
@echo ${CL2}[$@] ${CL}Success.${CL3}
@ -117,16 +117,17 @@ $(PREFIX)/bin/x86_64-elf-gcc: $(PREFIX)/bin/x86_64-elf-objcopy build-gcc
@mkdir -p cross-cc
cd build-gcc && make install-gcc -j $(NTHREADS)
cd build-gcc && make install-target-libgcc -j $(NTHREADS)
@echo ${CL2}[$@] ${CL}Success.${CL3}
@echo ${CL2}[$@] ${CL}The cross compiler has been successfully compiled.${CL3}
@echo It is located in the cross-cc subdirectory.
clean:
@mkdir -p build-gcc build-binutils
@rm -rf build-gcc
@rm -rf build-binutils
@rm -rf cross-cc
@rm -rf $(GCC_NAME)/gcc/config/i386/t-x86_64-elf
@patch -R $(GCC_NAME)/gcc/config.gcc < patch-red-zone.diff
@echo ${CL2}[$@] ${CL}Success.${CL3}
-@mkdir -p build-gcc build-binutils
-@rm -rf build-gcc
-@rm -rf build-binutils
-@rm -rf cross-cc
-@rm -rf $(GCC_NAME)/gcc/config/i386/t-x86_64-elf
-@patch -R $(GCC_NAME)/gcc/config.gcc < patch-red-zone.diff
-@echo ${CL2}[$@] ${CL}Success.${CL3}
remove_all: