]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: kallsyms: fix double build stupidity
authorLuis Chamberlain <mcgrof@kernel.org>
Wed, 27 Nov 2024 22:10:57 +0000 (14:10 -0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 28 Nov 2024 19:17:07 +0000 (11:17 -0800)
commit7ea13556f7d287fb55f7cacc316ff7647550c702
treed05b51e518532b4d077d5bee532952337d6ec4bc
parentb86545e02e8c22fb89218f29d381fa8e8b91d815
selftests: kallsyms: fix double build stupidity

The current arrangement will have the test modules rebuilt on
any make without having the script or code actually change.
Take Masahiro Yamada's suggested fix and cleanups on the Makefile
to fix this.

Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Fixes: 84b4a51fce4ccc66 ("selftests: add new kallsyms selftests")
Closes: https://lore.kernel.org/all/CAK7LNATRDODmfz1tE=inV-DQqPA4G9vKH+38zMbaGdpTuFWZFw@mail.gmail.com/T/#me6c8f98e82acbee6e75a31b34bbb543eb4940b15
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
lib/tests/module/Makefile