mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
ib_srpt/Makefile: Avoid that the build process depends on source control tools (merge r5361 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6065 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -25,6 +25,8 @@ endif
|
||||
set_var = $(shell { if [ -e "$(1)" ]; then grep -v '^$(2)=' "$(1)"; fi; echo "$(2)=$(3)"; } >/tmp/$(1)-$$$$.tmp && mv /tmp/$(1)-$$$$.tmp $(1))
|
||||
|
||||
|
||||
SRC_FILES=$(shell $(shell pwd)/../scripts/list-source-files | grep '\.[ch]$$')
|
||||
|
||||
# The file Modules.symvers has been renamed in the 2.6.18 kernel to
|
||||
# Module.symvers. Find out which name to use by looking in $(KDIR).
|
||||
MODULE_SYMVERS:=$(shell if [ -e $(KDIR)/Module.symvers ]; then \
|
||||
@@ -122,4 +124,7 @@ debug2perf:
|
||||
release-archive:
|
||||
../scripts/generate-release-archive srpt "$$(sed -n 's/^#define[[:blank:]]DRV_VERSION[[:blank:]]*\"\([^\"]*\)\".*/\1/p' src/ib_srpt.c)"
|
||||
|
||||
kerneldoc.html: $(SRC_FILES)
|
||||
$(KDIR)/scripts/kernel-doc -html $(SRC_FILES) >$@
|
||||
|
||||
.PHONY: all install clean extraclean 2debug 2release 2perf
|
||||
|
||||
Reference in New Issue
Block a user