mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-20 15:04:19 +00:00
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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user