kernel.bbclass has the following in kernel_do_compile:
  oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}"
  if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then
          oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}"
  fi

The check for KERNEL_MAJOR_VERSION here is bogus, it will always
be "None", because the expansion of KERNEL_MAJOR_VERSION requires
include/linux/version.h, but that file doesn't exist when the
variable is expanded.
The problem doesn't cause any harm here, as "make dep" on newer
kernels just issues a warning, but it irritates once you look at
run.do_compile for hunting down any other errors...

If anybody cares, I'll provide a patch that just calls "make dep"
unconditionally.

Regards,
  Detlef

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to