Rebuilding the Toolchain#

The files are under /drive-foundation_src/bootlin/

Common#

mkdir build
tar -C build -xpf toolchain-sources_bleeding-edge-2024.02-1.tar.gz

aarch64–glibc–bleeding-edge-2024.02-1#

tar -C build -xpf buildroot-toolchains_toolchains.bootlin.com-2024.02.1.tar.gz
tar -C build -xpf toolchain-sources_bleeding-edge-2024.02-1.tar.gz
  1. Add the following lines to build/aarch64-glibc-stable-2022.03-1.defconfig: 1.

BR2_PACKAGE_LIBXCRYPT=y
2.
BR2_HOST_DIR="$(TOPDIR)/build"
cp build/aarch64--glibc--bleeding-edge-2024.02-1.defconfig build/.config
cd build && make olddefconfig && make sdk && cd -
  1. Toolchain is available in build/output/images/aarch64-buildroot-linux-gnu_sdk-buildroot.tar.gz

armv5-eabi–glibc–bleeding-edge-2024.02-1#

tar -C build -xpf buildroot-toolchains_toolchains.bootlin.com-2024.02.1.tar.gz
cp build/armv5-eabi--glibc--bleeding-edge-2024.02-1.defconfig build/.config
cd build && make olddefconfig && make sdk && cd -
  1. Toolchain is available in build/output/images/armv5-eabi-buildroot-linux-gnu_sdk-buildroot.tar.gz.

armv7-eabihf–glibc–bleeding-edge-2024.02-1#

tar -C build -xpf buildroot-toolchains_toolchains.bootlin.com-2024.02.1.tar.gz
cp build/armv7-eabihf--glibc--bleeding-edge-2024.02-1.defconfig build/.config
cd build && make olddefconfig && make sdk && cd -
  1. Toolchain is available in build/output/images/armv7-eabihf-buildroot-linux-gnu_sdk-buildroot.tar.gz.