Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2775088rwd; Fri, 16 Jun 2023 08:04:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jRN/ZgGZBUAu1b1wRLBmsljTnQssThw7qR66Hy6eYK1tYDlOkNA8kxAtzn5ueQKb1iPCz X-Received: by 2002:a05:6a20:12c8:b0:11e:e9c4:a37b with SMTP id v8-20020a056a2012c800b0011ee9c4a37bmr2558445pzg.18.1686927895335; Fri, 16 Jun 2023 08:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686927895; cv=none; d=google.com; s=arc-20160816; b=tjLUf8s0QOKkMMKfZq7XbQxLVMWdgn7nvshhFSFk91zF096hhXTnUsvLDTSf+Ki2N4 gFMo1Jivc9mgpfO3QVmoP52SagJS6O/ILrLg90CT0ZSf7FAT+S72CaefDQmYtAZOUxuj bTe0VoX325RL8QW6QWHuvdUBTrR7Hpsx+vVZ1XdswGPC6rHo7T25qmK55G1bjuQF9dTl l5SvyD9QEOHYbDB0ZdKkieez+sxmJVomv30GTBPQW+FlwdFSojrv72iy7JZnxd0IGU1v fZZ5rhGCv0lQICRTuH4sl8/zhPIAgljEaYq+dZq1MMnJYPC0CXDzbPUtkvszpP6kCwL8 mjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QvnV5Z0cg/R3Z3OONivkKDtoh+FChPN+Vv2olsH6VN8=; b=xkfJdZbTXQ+KisraMTxS0V2FHtymqEL1D1smmZLMIpHHnDMjZYjksJvVFDHpAJBV+v 0xZAn5OgKfqe+js0rsHqny77TRueWTYGGPoZ6idAc3Zv1rxt/p5ckr4f7yoUK0wSuXhn hJRGAq6Npl/8GdLu7AVATOROsuCKehhTwfH78Ce6jgeqDjVPiyVur1PKNdufpnat54Dn yRRl+2R3zyzHhc4FB2a1iyyyPQ+FjM9p4CMswSZTcgI99tDBMisGuxwzQxj7+xz1Zj38 yPGwKTcPIcX+yK1jS+OuNRG00smehTlnYIhMqCFR4ADfACVPIkD/O5kBFSAVUwHCZakl stjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pskvSaL4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020aa78f29000000b0063d19a45a93si3235780pfr.280.2023.06.16.08.04.26; Fri, 16 Jun 2023 08:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pskvSaL4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243664AbjFPOuY (ORCPT + 99 others); Fri, 16 Jun 2023 10:50:24 -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: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 directory 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. -- 2.39.2