Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD.patch

By: a guest on Oct 16th, 2012  |  syntax: None  |  size: 0.73 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- PKGBUILD    2012-10-16 18:16:35.679397608 +0100
  2. +++ PKGBUILD    2012-10-16 18:20:05.581355033 +0100
  3. @@ -89,7 +89,9 @@
  4.    ####################
  5.  
  6.    # build!
  7. -  make ${MAKEFLAGS} LOCALVERSION= bzImage modules
  8. +  # Number of processors
  9. +  PROCS=`cat /proc/cpuinfo | grep processor | wc -l`
  10. +  make -j ${PROCS} ${MAKEFLAGS} LOCALVERSION= bzImage modules
  11.  }
  12.  
  13.  package() {
  14. @@ -180,7 +182,7 @@
  15.    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
  16.  
  17.    for i in acpi asm-generic config crypto drm generated linux math-emu \
  18. -    media mtd net pcmcia scsi sound trace video xen; do
  19. +    media mtd net pcmcia scsi sound trace uapi video xen; do
  20.      cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
  21.    done
clone this paste RAW Paste Data