diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-06-16 16:50:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-19 17:13:24 +0200 |
commit | a5052c85b9def55cf1c6d13bbed0ae07ffb1c6a1 (patch) | |
tree | 697e77e998d9cd526cc9a19cb15294e05005617a /samples/Kconfig | |
parent | misc: fastrpc: check return value of devm_kasprintf() (diff) | |
download | linux-a5052c85b9def55cf1c6d13bbed0ae07ffb1c6a1.tar.xz linux-a5052c85b9def55cf1c6d13bbed0ae07ffb1c6a1.zip |
samples: pfsm: add CC_CAN_LINK dependency
When no libc for the target architecture is available, cross-compiling
the same cannot work:
samples/pfsm/pfsm-wakeup.c:12:10: fatal error: fcntl.h: No such file or directory
Fixes: 9e66fb5244953 ("samples: Add userspace example for TI TPS6594 PFSM")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616145013.3889906-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r-- | samples/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index 3edf73a3dc9b..bf49ed0d7362 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -256,6 +256,7 @@ config SAMPLE_INTEL_MEI config SAMPLE_TPS6594_PFSM bool "Build example program working with TPS6594 PFSM driver" depends on HEADERS_INSTALL + depends on CC_CAN_LINK help Build a sample program to work with PFSM devices. |