diff --git a/qla2x00t/Makefile b/qla2x00t/Makefile index 57a3477d8..24e811095 100644 --- a/qla2x00t/Makefile +++ b/qla2x00t/Makefile @@ -58,7 +58,7 @@ uninstall: endif clean: - @$(MAKE) -C $(KDIR) M=$(PWD) clean + @$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) clean @$(RM) tags Modules.symvers module.symvers Module.markers modules.order extraclean: clean diff --git a/scst_local/Makefile b/scst_local/Makefile index b3bac7a97..7d7e318e2 100644 --- a/scst_local/Makefile +++ b/scst_local/Makefile @@ -75,7 +75,7 @@ uninstall: endif clean: - @$(MAKE) -C $(KDIR) M=$(PWD) clean + @$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) clean @$(RM) tags Modules.symvers module.symvers Module.markers modules.order extraclean: clean