diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-11-01 07:32:16 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-11-02 08:50:53 +0100 |
commit | b6c480f2570f498fe1ccbe0e6017c8989771d3e0 (patch) | |
tree | 331273a3e06a2f4563c924322086e62f68527781 | |
parent | 1498093ccd11596d754ea3cc5c86a4addb970ccc (diff) | |
download | barebox-b6c480f2570f498fe1ccbe0e6017c8989771d3e0.tar.gz barebox-b6c480f2570f498fe1ccbe0e6017c8989771d3e0.tar.xz |
test: self: only include ramfs selftest when CONFIG_SELFTEST_FS_RAMFS=y
So far, we ignored the symbol and built the test always when
CONFIG_SELFTEST=y and CONFIG_FS_RAMFS=y.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221101063216.3216821-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | test/self/Kconfig | 2 | ||||
-rw-r--r-- | test/self/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/self/Kconfig b/test/self/Kconfig index f3cb6601e3..5c69819599 100644 --- a/test/self/Kconfig +++ b/test/self/Kconfig @@ -33,7 +33,7 @@ config SELFTEST_ENABLE_ALL select SELFTEST_PROGRESS_NOTIFIER select SELFTEST_OF_MANIPULATION select SELFTEST_ENVIRONMENT_VARIABLES if ENVIRONMENT_VARIABLES - select SELFTEST_FS_RAMFS + imply SELFTEST_FS_RAMFS imply SELFTEST_TFTP help Selects all self-tests compatible with current configuration diff --git a/test/self/Makefile b/test/self/Makefile index 6f2c0d3940..c7c729cba0 100644 --- a/test/self/Makefile +++ b/test/self/Makefile @@ -6,4 +6,4 @@ obj-$(CONFIG_SELFTEST_PRINTF) += printf.o obj-$(CONFIG_SELFTEST_PROGRESS_NOTIFIER) += progress-notifier.o obj-$(CONFIG_SELFTEST_OF_MANIPULATION) += of_manipulation.o of_manipulation.dtb.o obj-$(CONFIG_SELFTEST_ENVIRONMENT_VARIABLES) += envvar.o -obj-$(CONFIG_FS_RAMFS) += ramfs.o +obj-$(CONFIG_SELFTEST_FS_RAMFS) += ramfs.o |