mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 04:54:52 +00:00
kunit: building kunit as a module breaks allmodconfig
kunit tests that do not support module build should depend
on KUNIT=y rather than just KUNIT in Kconfig, otherwise
they will trigger compilation errors for "make allmodconfig"
builds.
Fixes: 9fe124bf1b
("kunit: allow kunit to be loaded as a module")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
6ae2bfd3df
commit
35c57fc3f8
2 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ config DEBUG_TEST_DRIVER_REMOVE
|
|||
|
||||
config PM_QOS_KUNIT_TEST
|
||||
bool "KUnit Test for PM QoS features"
|
||||
depends on KUNIT
|
||||
depends on KUNIT=y
|
||||
|
||||
config HMEM_REPORTING
|
||||
bool
|
||||
|
|
|
@ -71,7 +71,7 @@ config SECURITY_APPARMOR_DEBUG_MESSAGES
|
|||
|
||||
config SECURITY_APPARMOR_KUNIT_TEST
|
||||
bool "Build KUnit tests for policy_unpack.c"
|
||||
depends on KUNIT && SECURITY_APPARMOR
|
||||
depends on KUNIT=y && SECURITY_APPARMOR
|
||||
help
|
||||
This builds the AppArmor KUnit tests.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue