-include \$$(KRNLINCL)/linux/modversions.h' \
-e '/^DEFINES/a\ \
-DMODVERSIONS \\' src/Makefile
+ cd $(DIR_APP) && sed -i \
+ -e 's/$$(shell uname -r)/$(KVER)/' Makefile
else
cd $(DIR_APP) && sed -i \
-e 's/$$(shell uname -m)/$(MACHINE)/' \
-include \$$(KRNLINCL)/linux/modversions.h' \
-e '/^DEFINES/a\ \
-DMODVERSIONS \\' src/Makefile
+ cd $(DIR_APP) && sed -i \
+ -e 's/$$(shell uname -r)/$(KVER)-smp/' Makefile
endif
cd $(DIR_APP) && CC="$(KGCC)" make
cd $(DIR_APP) && CC="$(KGCC)" make install