Makefiles: Stop using $(SUBDIRS) (merge r7851 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7898 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-01-13 21:57:33 +00:00
parent 097385d9fc
commit db55949455
14 changed files with 50 additions and 53 deletions
+3 -3
View File
@@ -56,11 +56,11 @@ SCST_DIR := $(shell if [ -e "$$PWD/../scst" ]; \
else echo "$(DESTDIR)$(PREFIX)/include/scst"; fi)
all: Modules.symvers Module.symvers
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
$(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \
SCST_INC_DIR=$(SCST_INC_DIR)
install: all
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_INI=m \
$(MAKE) -C $(KDIR) M=$(shell pwd) BUILD_INI=m \
$$([ -n "$(DESTDIR)$(INSTALL_MOD_PATH)" ] && echo DEPMOD=true) \
SCST_INC_DIR=$(SCST_INC_DIR) modules_install
@@ -89,7 +89,7 @@ uninstall:
endif
clean:
@$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) clean
@$(MAKE) -C $(KDIR) M=$(shell pwd) clean
@$(RM) tags Modules.symvers module.symvers Module.markers modules.order
extraclean: clean