diff --git a/srpt/Makefile b/srpt/Makefile index ebce4edf5..2f0e28c96 100644 --- a/srpt/Makefile +++ b/srpt/Makefile @@ -40,7 +40,7 @@ INSTALL_DIR := $(INSTALL_MOD_PATH)/lib/modules/$(KVER)/extra 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).