make-deb.sh 376 B

123456789101112131415161718
  1. #!/bin/bash -ex
  2. . toolchain.sh
  3. target=$1
  4. if [ "x${target}" == "x" ]; then
  5. target="kernel_image"
  6. fi
  7. packagedate=$(date +%Y.%m)
  8. if [ ! -e .config ]; then
  9. ./config.sh
  10. fi
  11. V=1 CROSS_SUFFIX="${version}" fakeroot make-kpkg --uc --us --initrd --cross-compile ${toolchain} --subarch efikamx --jobs=${numjobs} --rootcmd=fakeroot --arch armel --revision ${packagedate} ${target}