diff --git a/srpt/Makefile b/srpt/Makefile index 346faf1ce..dec13d21a 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -25,7 +25,7 @@ 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]$$') +SRC_FILES=$(wildcard */*.[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).