# # Install Ubuntu or Debian (Any version). # # Prepare build environment: ./make_buildenv.sh # Copy batch_build.sh, clear_dir.sh, mountall.sh and binutils-2.25_armhf_64k.tar.gz to buildenv/root folder. # Chroot inside: chroot buildenv # Run: ./mountall.sh tar xvf binutils-2.25_armhf_64k.tar.gz dpkg -i binutils_*.deb dpkg -i binutils-multiarch_*.deb rm *.deb ./mountall.sh done ############################# # Ok, all done for build some packages: ./batch_build.sh package1 package2 package3 # Remove all downloaded sources, temp files and builed packages: ./clean_dir.sh # Before exit from chroot - unmount dirs: ./mountall.sh done