--- a/Makefile.real +++ b/Makefile.real @@ -90,11 +90,6 @@ modules: backport-include/backport/autoconf.h install: modules @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_DIR) \ - INSTALL_MOD_DIR=$(KMODDIR) $(KMODPATH_ARG) \ + INSTALL_MOD_DIR=$(KMODDIR) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) \ modules_install - @./scripts/blacklist.sh $(KLIB)/ $(KLIB)/$(KMODDIR) - @./scripts/compress_modules.sh $(KLIB)/$(KMODDIR) - @./scripts/check_depmod.sh - @/sbin/depmod -a - @./scripts/update-initramfs.sh $(KLIB) @echo @echo Your backported driver modules should be installed now. @echo Reboot. --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ mrproper: echo "" ;\ done \ ) > Kconfig.kernel ;\ - kver=$$($(MAKE) --no-print-directory -C $(KLIB_BUILD) kernelversion | \ + kver=$$(echo $(KERNEL_VERSION) | \ sed 's/^\(\([3-4]\|2\.6\)\.[0-9]\+\).*/\1/;t;d') ;\ test "$$kver" != "" || echo "Kernel version parse failed!" ;\ test "$$kver" != "" ;\