- # The makefile put the modules to a wrong place move back...
- cp -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib /
- rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib
+ # This is for stable version
+ # Build only the modules
+ cd $(DIR_APP) && sed -i -e "s|install: uninstall modules|install: modules|g" Makefile
+ cd $(DIR_APP) && sed -i -e "s|\t@# All the scripts|\nende:|g" Makefile
+
+ cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install
+
+
+ # This is for new developer versions (New makefile)
+ # cd $(DIR_APP) && make KLIB=/lib/modules/$(KVER)-$(VERSUFIX) KMODDIR=kernel install-modules
+
+ # # The makefile put the modules to a wrong place move back...
+ # cp -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib /
+ # rm -rf /lib/modules/$(KVER)-$(VERSUFIX)/lib