# find build system (2.6 or legacy)
kbuild26="yes"
if grep -q "PATCHLEVEL = 4" $kernel_path/Makefile ; then
if grep -q "VERSION = 2" $kernel_path/Makefile \
&& grep -q "PATCHLEVEL = 4" $kernel_path/Makefile ; then
kbuild26="no"
fi
else
ifeq ($(PATCHLEVEL),4)
ifeq ($(VERSION).$(PATCHLEVEL),2.4)
# called from 2.4 kernel kbuild
obj-m:= kqemu.o