Created
March 16, 2020 07:51
-
-
Save bebu/0e3a2969edcb38d89d61eb8538a042a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/Makefile 2020-03-16 08:42:15.227906329 +0100 | |
+++ b/Makefile 2020-02-14 13:09:16.000000000 +0100 | |
@@ -57,7 +57,7 @@ | |
.PHONY: install bbanner ibanner | |
all: bbanner | |
- $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules | |
+ $(MAKE) -C $(KDIR) M=$(PWD) | |
clean: | |
@rm -f *.o *.ko vers.c .*.cmd .*.d | |
@@ -65,17 +65,10 @@ | |
@rm -rf .tmp_versions Module.markers modules.order | |
install: ibanner | |
- @if [ -e /etc/redhat-release ]; then \ | |
- echo "performing Redhat install"; \ | |
- (sh ./install_rh $(KVERS)); \ | |
- elif [ -e /etc/SuSE-release ]; then \ | |
- echo "performing SuSE install"; \ | |
- (sh ./install_suse $(KVERS)); \ | |
- else \ | |
- echo "performing generic install"; \ | |
- cp rcraid.ko /lib/modules/$(KVERS)/kernel/drivers/scsi; \ | |
- depmod -a \ | |
- fi | |
+ echo "performing generic install" | |
+ cp rcraid.ko /lib/modules/$(KVERS)/kernel/drivers/scsi | |
+ depmod -a | |
+ | |
bbanner: | |
@echo ------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment