The compilation tries to pull include files from the linux kernel source directory instead of from the local repository of patched include files. It looks like CFLAGS in pkg-linuxmodule-26.mk needs some autoconf/sed treatment similar to what is done for linuxmodule/Makefile.