mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-23 11:23:33 +02:00
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:
@ -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/
|
||||
|
Reference in New Issue
Block a user