Commit a5052c85 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

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: 9e66fb52 ("samples: Add userspace example for TI TPS6594 PFSM")
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230616145013.3889906-1-arnd@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af2e19d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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.