build.sh 298 B

123456789101112131415
  1. #!/bin/bash
  2. CORES=$(getconf _NPROCESSORS_ONLN)
  3. make clean || true
  4. make distclean || true
  5. git submodule sync
  6. git submodule update --recursive --init
  7. make MKFS_VFAT="/sbin/mkfs.vfat" \
  8. MKFS_EXT4="/sbin/mkfs.ext4" \
  9. PARTPROBE="/sbin/partprobe" \
  10. SGDISK="/sbin/sgdisk" \
  11. -j${CORES}