summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-05-14 07:10:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-14 07:10:49 +0200
commitc2d803f75be7fcf562406cf1aa276f3c11a2e183 (patch)
tree95b380c9b926f84667be659caf14e1a0be710754 /common/Kconfig
parentcff4868b6d11f1c9e296fea8ca1da1224bde7f39 (diff)
parent57c88050d03a0fa0c20985bcf3fcd59f5a95b9ed (diff)
downloadbarebox-c2d803f75be7fcf562406cf1aa276f3c11a2e183.tar.gz
barebox-c2d803f75be7fcf562406cf1aa276f3c11a2e183.tar.xz
Merge branch 'for-next/compile-test'
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig17
1 files changed, 15 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 400c0553cf..44a955c5ff 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -39,8 +39,8 @@ config BLOCK_WRITE
bool
config ELF
- bool
- depends on MIPS
+ bool "ELF Support" if COMPILE_TEST
+ depends on MIPS || COMPILE_TEST
config FILETYPE
bool
@@ -1336,6 +1336,19 @@ config KASAN
Enables KASAN (KernelAddressSANitizer) - runtime memory debugger,
designed to find out-of-bounds accesses and use-after-free bugs.
+config COMPILE_TEST
+ bool "compile-test drivers of other platforms"
+ default n
+ help
+ Some drivers can be compiled on a different platform than they are
+ intended to be run on. Despite they cannot be used there due to
+ missing HW support, developers still, opposing to users, might want
+ to build such drivers to compile-test them.
+
+ If you are a developer and want to build as much as currently possible,
+ say Y here. If you are a user, say N here to avoid being prompted for
+ inclusion of unrelated drivers.
+
endmenu
config HAS_DEBUG_LL