Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

kernel-headers.bbclass

By: a guest on Oct 2nd, 2013  |  syntax: Bash  |  size: 0.26 KB  |  hits: 38  |  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. DEPENDS += "virtual/kernel"
  2.  
  3. PACKAGE_ARCH = "${MACHINE_ARCH}"
  4.  
  5. inherit kernel-arch
  6.  
  7. KINCLUDES ?= "${WORKDIR}/kernel-includes"
  8.  
  9. do_compile_prepend() {
  10.         mkdir -p ${KINCLUDES}
  11.         oe_runmake -C ${STAGING_KERNEL_DIR} headers_install INSTALL_HDR_PATH=${KINCLUDES}
  12. }