* [PATCH] samples: pfsm: add CC_CAN_LINK dependency
@ 2023-06-16 14:50 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2023-06-16 14:50 UTC (permalink / raw)
To: Julien Panis, Greg Kroah-Hartman
Cc: Arnd Bergmann, Alex Williamson, Jason Gunthorpe, Tony Krowiak,
Mark Rutland, Hao Ge, ye xingchen, Miguel Ojeda, Florent Revest,
linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
samples/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/Kconfig b/samples/Kconfig
index 3edf73a3dc9bf..bf49ed0d73623 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.
--
2.39.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-16 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-16 14:50 [PATCH] samples: pfsm: add CC_CAN_LINK dependency Arnd Bergmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.