Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2018-05-14 14:07:59 +0200
committerMiroslav Benes <mbenes@suse.cz>2018-05-14 14:07:59 +0200
commit58fddd5116b88802afb88ae66a6cd03998c79595 (patch)
tree1aa3c1a7d1f5aa840eec4331069de3b4a4810b80
parent843c6fa42429afc1682cdb39119e7a011af2abc9 (diff)
parentcf2464af30b57408c3fb25f78534afa86a3c6091 (diff)
Merge branch 'master' into master-kgraft
-rwxr-xr-xscripts/create-makefile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-makefile.sh b/scripts/create-makefile.sh
index c13b7fd..25bab16 100755
--- a/scripts/create-makefile.sh
+++ b/scripts/create-makefile.sh
@@ -8,7 +8,7 @@ if [ -e "$1/Makefile" ]; then
exit 0
fi
-objects=$(find . -type f -name "*.c" | sed "s/^\.\/\(.*\)\.c$/\1.o/" | tr '\n' ' ')
+objects=$(find . -type f -name "*.c" -o -iname "*.s" | sed "s/^\.\/\(.*\)\.[csS]$/\1.o/" | tr '\n' ' ')
cat << EOF > $1/Makefile
KDIR ?= /lib/modules/\`uname -r\`/build