Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2018-05-14 14:08:29 +0200
committerMiroslav Benes <mbenes@suse.cz>2018-05-14 14:08:29 +0200
commit33d83732c8afd312170455fc724b08df4adfc055 (patch)
treec98120d2861b6e02b0b9b8f634ae76d6492fbaa2
parenta27c66a1d7feb9b7e213db11fe66a40821ba07f4 (diff)
parentcf2464af30b57408c3fb25f78534afa86a3c6091 (diff)
Merge branch 'master' into master-livepatch
-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 401154c..fa7afc0 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