Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Stange <nstange@suse.de>2019-09-05 12:42:08 +0200
committerNicolai Stange <nstange@suse.de>2019-09-05 12:42:08 +0200
commitf100c040fa128c3611f08a4e07cb140d407c5eda (patch)
tree7ebd7d34ab45455ee2d0f9090254e1783b0286af
parentae6163f301627e57469418a271b206cca914cffb (diff)
parentb30a48ecd63d526fbd477baf6ea1baf0d824ae02 (diff)
Merge branch 'master-livepatch' into SLE15-SP2_Update_0SLE15-SP2_Update_0
-rwxr-xr-xscripts/create-makefile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create-makefile.sh b/scripts/create-makefile.sh
index fa7afc0..03c0599 100755
--- a/scripts/create-makefile.sh
+++ b/scripts/create-makefile.sh
@@ -13,6 +13,8 @@ objects=$(find . -type f -name "*.c" -o -iname "*.s" | sed "s/^\.\/\(.*\)\.[csS]
cat << EOF > $1/Makefile
KDIR ?= /lib/modules/\`uname -r\`/build
+ccflags-y += -I\$(obj)
+
obj-m := livepatch-@@RPMRELEASE@@.o
livepatch-@@RPMRELEASE@@-y := $objects