Remove old, unused build scripts
parent
2b6b777282
commit
1914b3aba0
21
build-all.sh
21
build-all.sh
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# vim: set sw=4 ts=4 sts=4 et :
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
. ./config
|
|
||||||
|
|
||||||
./prepare.sh
|
|
||||||
./config-portage.sh
|
|
||||||
./setup-local-repo.sh
|
|
||||||
./build.sh
|
|
||||||
./build-host-tools.sh
|
|
||||||
./build-rootfs.sh
|
|
||||||
./build-uboot.sh
|
|
||||||
./build-grub.sh
|
|
||||||
./build-kernel.sh
|
|
||||||
./build-squashfs.sh
|
|
||||||
./post-build.sh
|
|
||||||
|
|
||||||
./genimage.sh
|
|
||||||
./build-update.sh
|
|
|
@ -1,18 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# vim: set sw=4 ts=4 sts=4 et :
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
. ./config
|
|
||||||
|
|
||||||
O="${1}"
|
|
||||||
|
|
||||||
./patch-uboot.sh
|
|
||||||
cd u-boot
|
|
||||||
cat configs/rpi_4_defconfig ../u-boot.config > configs/yellow_defconfig
|
|
||||||
make O="${O}"/u-boot yellow_defconfig
|
|
||||||
CROSS_COMPILE=${target}- make O="${O}"/u-boot -j$(nproc)
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
mkdir -p "${O}"/efi-part
|
|
||||||
cp -u "${O}"/u-boot/u-boot.bin "${O}"/efi-part
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# vim: set sw=4 ts=4 sts=4 et :
|
|
||||||
|
|
||||||
if [ -f u-boot/.patched ]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
rc=0
|
|
||||||
cd u-boot || exit
|
|
||||||
for x in ../patches/uboot/*.patch; do
|
|
||||||
[ -f "${x}" ] || continue
|
|
||||||
printf 'Applying patch %s ...\n' "${x##*/}"
|
|
||||||
patch -p1 < "${x}" || rc=$?
|
|
||||||
done
|
|
||||||
if [ $rc -eq 0 ]; then
|
|
||||||
: > .patched
|
|
||||||
fi
|
|
Reference in New Issue