diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-10-16 10:50:00 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-11-01 16:26:50 +0000 |
commit | f32eed1695da64e1fb5d694ed4d038a58e94440c (patch) | |
tree | ed46d61b206921ab4feb7fa0085920260689ecec /util/crossgcc/Makefile | |
parent | b5b22a74a6b7708e0d5e2a794d6a2f3d141198fd (diff) |
buildgcc: Remove GDB from crossgcc
It was added for a specific defunct project by a specific defunct
company.
Change-Id: Ib56ae0fdc1a50d24ff44c7879c43f8e94a5bfa95
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58380
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util/crossgcc/Makefile')
-rw-r--r-- | util/crossgcc/Makefile | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile index bb30fa41cc..34fb244425 100644 --- a/util/crossgcc/Makefile +++ b/util/crossgcc/Makefile @@ -7,18 +7,11 @@ DEST ?= $(CURDIR)/xgcc # use BUILDGCC_OPTIONS= to set any other crossgcc command line options # Example: BUILDGCC_OPTIONS=-c to remove temporary files before build -all all_with_gdb: +all: $(MAKE) build-i386 build-x64 build-arm \ build-riscv build-aarch64 build-ppc64 build-nds32le \ build_clang build_iasl build_nasm -all_without_gdb: - $(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm \ - build-riscv build-aarch64 build-ppc64 build-nds32le \ - build_clang build_iasl build_nasm - -build_tools: build_gcc build_gdb - ########################################################### ### targets to do buildgcc builds @@ -26,12 +19,6 @@ build_gcc: bash ./buildgcc -p $(BUILD_PLATFORM) $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) $(BUILDGCC_OPTIONS) \ $(if $(BUILD_LANGUAGES),-l $(BUILD_LANGUAGES)) -d $(DEST) -build_gdb: -ifeq ($(SKIP_GDB),) - bash ./buildgcc -p $(BUILD_PLATFORM) -P gdb $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) \ - $(BUILDGCC_OPTIONS) -d $(DEST) -endif - build_iasl: bash ./buildgcc -P iasl $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) $(BUILDGCC_OPTIONS) -d $(DEST) @@ -48,33 +35,31 @@ build_nasm: ########################################################### build-i386: - @$(MAKE) build_tools build_nasm BUILD_PLATFORM=i386-elf + @$(MAKE) build_gcc build_nasm BUILD_PLATFORM=i386-elf build-x64: - @$(MAKE) build_tools build_nasm BUILD_PLATFORM=x86_64-elf + @$(MAKE) build_gcc build_nasm BUILD_PLATFORM=x86_64-elf build-arm: - @$(MAKE) build_tools BUILD_PLATFORM=arm-eabi + @$(MAKE) build_gcc BUILD_PLATFORM=arm-eabi build-aarch64: - @$(MAKE) build_tools BUILD_PLATFORM=aarch64-elf + @$(MAKE) build_gcc BUILD_PLATFORM=aarch64-elf build-riscv: - # GDB is currently not supported on RISC-V @$(MAKE) build_gcc BUILD_PLATFORM=riscv-elf build-ppc64: - @$(MAKE) build_tools BUILD_PLATFORM=powerpc64-linux-gnu + @$(MAKE) build_gcc BUILD_PLATFORM=powerpc64-linux-gnu build-nds32le: - @$(MAKE) build_tools BUILD_PLATFORM=nds32le-elf + @$(MAKE) build_gcc BUILD_PLATFORM=nds32le-elf clean_tempfiles: rm -rf build-* rm -rf binutils-* gcc-* gmp-* mpc-* mpfr-* rm -rf llvm-* clang-tools-* cfe-* compiler-rt-* rm -rf acpica-* - rm -rf gdb-* rm -f getopt clean: clean_tempfiles @@ -83,8 +68,8 @@ clean: clean_tempfiles distclean: clean rm -rf tarballs -.PHONY: build_gcc build_iasl build_gdb build_clang all all_with_gdb \ - all_without_gdb build_tools build-i386 build-x64 build-arm \ +.PHONY: build_gcc build_iasl build_clang all \ + build-i386 build-x64 build-arm \ build-aarch64 build-riscv build-ppc64 build-nds32le build-nasm \ clean distclean clean_tempfiles .NOTPARALLEL: |