Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Stange <nstange@suse.de>2018-05-14 08:30:00 +0200
committerMiroslav Benes <mbenes@suse.cz>2018-05-14 13:55:12 +0200
commitcf2464af30b57408c3fb25f78534afa86a3c6091 (patch)
treedee3ba2b04385818e3b1dc24d35a5c492b048fe9
parent5988feb7832d8c820988628ba943044ad389a917 (diff)
scrips/create-makefile.sh: add support for assembly filesHEADmaster
Signed-off-by: Nicolai Stange <nstange@suse.de> Signed-off-by: Miroslav Benes <mbenes@suse.cz>
-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