Commit 70131df3 authored by Adrien Bourmault's avatar Adrien Bourmault 💻

Correcting a critical error caused by exchanged dependencies between recipes

parent dae7fcea
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment