SHARE
TWEET

kernel-headers.bbclass

a guest Oct 2nd, 2013 40 Never
  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. }
RAW Paste Data
Top