anchor.diff:  
   PACKAGES += 'luajit-common'
   
  +# See the comment for EXTRA_OEMAKEINST. This is needed to ensure the hardcoded
  +# paths are packaged regardless of what the libdir and datadir paths are.
  +FILES_${PN} += "${prefix}/${baselib} ${prefix}/share"
   FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
       ${libdir}/libluajit-5.1.so.${PV} \
   "
  
positive.code: BUILD_CC_ARCH_append_x86 = ' -m32'
  BUILD_CC_ARCH_append_arm = ' -m32'
  
  EXTRA_OEMAKE_append_class-target = '\
      CROSS=${HOST_PREFIX} \
      HOST_CC="${BUILD_CC} ${BUILD_CC_ARCH}" \
      TARGET_CFLAGS="${TOOLCHAIN_OPTIONS} ${TARGET_CC_ARCH}" \
      TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" \
      TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}" \
  '
  
  do_compile () {
      oe_runmake
  }
  
  do_install () {
      oe_runmake 'DESTDIR=${D}' install
      rmdir ${D}${datadir}/lua/5.* \
            ${D}${datadir}/lua \
            ${D}${libdir}/lua/5.* \
  
negative.code: 
  BBCLASSEXTEND = "native"
  
  # http://luajit.org/install.html#cross
  # Host luajit needs to be compiled with the same pointer size
  # If you want to cross-compile to any 32 bit target on an x64 OS,
  