Message ID | 20230616145013.3889906-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1405920vqr; Fri, 16 Jun 2023 08:02:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zDN84hutTzQ/bEwdO2HOTR2dStMFmKEjhyrD3A8dcEutCiaOJWJGfvydHR9y5GLj/heHY X-Received: by 2002:a17:902:b786:b0:1b5:39:f022 with SMTP id e6-20020a170902b78600b001b50039f022mr2100680pls.19.1686927777690; Fri, 16 Jun 2023 08:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686927777; cv=none; d=google.com; s=arc-20160816; b=SYQ3xoaVH2KI8B3QmA8b3t4L4Hviv8j5+w52an0BJUCuaeMWRW1e1k5MT8tM1Mlnlh ntWjNX2mmKB3sK0gfKfyVSD2Y2JVcUyOT5wPjq+ZHdCTZoAbS1sXcS3oZ7m/3UG2KZdE lT+99cCjE+IDHwCRyt70Cm4jDMCJDf7HDq5m2tVyA3Wi9QZwW6aAdRfOlKhlTBUz+8m4 Cf2lP66UUbkstO9SH5KPMAbOkjYRh9b8kIvR0Ojd356uTgRdJ5Sr7w4RugLkYUISRFhh iaCPrBUHR2RZleXN8AyT+g4qLIVO8EinRPhX9ydopkWBRS+poJ0W9LG9Ohz5Vh7iVDZw BOSg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kw16-20020a170902f91000b001b20e2ba8e1si220951plb.23.2023.06.16.08.02.41; Fri, 16 Jun 2023 08:02:57 -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 S1345421AbjFPOuY (ORCPT <rfc822;maxin.john@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <arnd@kernel.org> To: Julien Panis <jpanis@baylibre.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Arnd Bergmann <arnd@arndb.de>, Alex Williamson <alex.williamson@redhat.com>, Jason Gunthorpe <jgg@ziepe.ca>, Tony Krowiak <akrowiak@linux.ibm.com>, Mark Rutland <mark.rutland@arm.com>, Hao Ge <gehao@kylinos.cn>, ye xingchen <ye.xingchen@zte.com.cn>, Miguel Ojeda <ojeda@kernel.org>, Florent Revest <revest@chromium.org>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768871981486694863?= X-GMAIL-MSGID: =?utf-8?q?1768871981486694863?= |
Series |
samples: pfsm: add CC_CAN_LINK dependency
|
|
Commit Message
Arnd Bergmann
June 16, 2023, 2:50 p.m. UTC
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.