]> sourceware.org Git - systemtap.git/commit
tentative fix: update hand-written Makefiles to use KBUILD_EXTMOD=
authorSerhei Makarov <smakarov@redhat.com>
Mon, 28 Sep 2020 14:51:23 +0000 (10:51 -0400)
committerSerhei Makarov <smakarov@redhat.com>
Mon, 28 Sep 2020 14:53:59 +0000 (10:53 -0400)
commit21109b09308cb033573c3cbda027a1f9c2a73633
tree357c0b409f1d66b8e844bcc07f37793e6a0c55c3
parent747902edd81aafe18430acdf9da864acb54344b9
tentative fix: update hand-written Makefiles to use KBUILD_EXTMOD=

kernel 5.3+ deprecated and then removed the SUBDIRS=
flag for building an external module. In conjunction with KDIR=,
this led to unpredictable results (i.e. a build failure which
would delete the system kernel-devel package's config files (!)).

Commit 0126be38d9 counsels to use M= or KBUILD_EXTMOD= instead.
No harm in specifying both since newer kernels should ignore SUBDIRS=
runtime/linux/uprobes/Makefile
runtime/linux/uprobes/uprobes.txt
testsuite/systemtap.base/stap_hwbkpt_kmod.Makefile
testsuite/systemtap.base/stap_kmodule.Makefile
testsuite/systemtap.context/makefile1
testsuite/systemtap.context/makefile2
testsuite/systemtap.printf/memory1_module.Makefile
This page took 0.028508 seconds and 5 git commands to generate.