From nobody Sat Feb 7 20:38:49 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3102CEB64D7 for ; Fri, 16 Jun 2023 14:50:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345734AbjFPOuZ (ORCPT ); Fri, 16 Jun 2023 10:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345713AbjFPOuW (ORCPT ); Fri, 16 Jun 2023 10:50:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACA0030EB for ; Fri, 16 Jun 2023 07:50:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 43C6A63CFD for ; Fri, 16 Jun 2023 14:50:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA777C433C0; Fri, 16 Jun 2023 14:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686927020; bh=aEGQIyQH+ng6zCmITf21YgP8Yf+bC5Kk7ngJnR9VmGQ=; h=From:To:Cc:Subject:Date:From; b=pskvSaL4qUT8OQmfocSE2D1oC123LHsXjhHwQI5qJhBT+4LUCNli2MN3wz1DiJKr1 a0LK82Ju/N+XJU2mFfMyRtSamYBUETjRK3zOvDm2Ujs4Va5Kiw59vpV9IDi0DgNoov D2+C5y9pROF6ouIwrWYnM5iHu2D6rt4P/5RXxpS/XJ2EeCX7NlUyqLqcZ7Nfjt5EZn THclYP5FJzESYRA+aaBD9Hl2YnULHKI9i84J1r2xiA16HjNHJUz6ExOGdubllAKCJG MkNZjByS4xpuFE3zjKBYAl+LhLsXWshaI30ii80oezdg4fB8LSg/Q3uWnAfAyyS8P2 zRjS609bP/LRA== From: Arnd Bergmann 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@vger.kernel.org Subject: [PATCH] samples: pfsm: add CC_CAN_LINK dependency Date: Fri, 16 Jun 2023 16:50:10 +0200 Message-Id: <20230616145013.3889906-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann 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 dir= ectory Fixes: 9e66fb5244953 ("samples: Add userspace example for TI TPS6594 PFSM") Signed-off-by: Arnd Bergmann --- 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. =20 --=20 2.39.2