Update linux-arm64-full

Update buildroot to 2025.05 (from 2021.09.20)
Improve build speed (remove unused apps and libs)
Update scripts
Update tests

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2025-06-22 21:03:19 +02:00
parent 3deaae3929
commit 76dedb50da
10 changed files with 1177 additions and 641 deletions

View File

@ -22,7 +22,9 @@ autoreconf
./configure --with-ssl-dir=/usr/local/ssl --prefix=/usr/local --with-libs=-lpthread
make -j1 install
make -j"$(nproc)"
make install
cd /usr/src
rm -rf ${OPENSSH_SRC_DIR}

View File

@ -10,7 +10,7 @@ usage() { echo "Usage: $0 -c <config-path> -v <version>" 1>&2; exit 1; }
REPO_URL="https://github.com/buildroot/buildroot.git"
CONFIG_PATH=""
REV="2021.08-rc1"
REV="2025.05"
while getopts "c:v:" o; do
case "${o}" in
c)
@ -35,9 +35,9 @@ if [ -z ${REV} ]; then
echo "WARNING: No version selected, use default version: $REV (-v)."
fi
git clone "$REPO_URL" --recurse-submodules --remote-submodules #--branch="$REV"
cd buildroot
git checkout "$REV"
cp "$CONFIG_PATH" .config
make
git clone "$REPO_URL" --recurse-submodules --shallow-submodules --depth 1 --branch "$REV" buildroot
# Only to generate the project files, config will be overwritten later
make -C buildroot O=/aarch64_efi aarch64_efi_defconfig
cp "$CONFIG_PATH" /aarch64_efi/.config
FORCE_UNSAFE_CONFIGURE=1 make -C /aarch64_efi sdk
rm -rf buildroot /aarch64_efi/build /aarch64_efi/images /aarch64_efi/staging /aarch64_efi/target/