Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1045335pxb; Wed, 6 Apr 2022 07:26:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXVCae+HYG4gXi6XFYhyffkBwTTU8pbtEPUE6ULIx4O5AwZHBLmD/OP22Ca4R1b8LdUFMJ X-Received: by 2002:a17:902:868e:b0:156:547b:6485 with SMTP id g14-20020a170902868e00b00156547b6485mr8925611plo.168.1649255165204; Wed, 06 Apr 2022 07:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649255165; cv=none; d=google.com; s=arc-20160816; b=S2PQ4Jo4aovaqnDdgt44cnxGccBA9ViWvF8ojsF4FxMvNf+pM+/CTOVFzOV3EY3T+s 1/5hAHcaC7EMHA+MZIyI8BrFJL6YgF0lKF9PZMphRSkxeOcodEnBzp66GlkrzbFOJb5z 5xJ42U9wQsbQDX2EvlJsyd2skxU0cv8PSpD6pB5q30WCNi7ZOjVzPinz1fEQCENNwnHU DvotXapafTe8UOlK8VDdAW7ANeeIXxQ6zrrBROdMaTlSJyn+wwAlXCChFA0zvkZTMGeH pg3epfYvuhxNCU7FSbnOyTExz2itOzBIlhOyxvX9TEZtCnWt6Rm36ruAm3Z++Fu2KBpk pE2A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lECWbtC9GYq2R3S9yNVi1Mvua4TnMks6vhLxN2FwgcA=; b=KjYkVam3duN4t83ybDEbZkerVhhxIfs4Wbra9jfGGtG0GIt9tKpxgqyTzkWFjNqNpL uZr4WUxGCITX1uESfSEn7qtOBKd+X/bBmHD6dDZxKcMrxVJ7pTCbO9vXcD7THYdXJRDQ O8sTAkc91FYBkQYrW37K5t6n+V068pwa+ZruYJkCHrFXcnqb/vldPKg1BsE76QzcZSIl Kh7OupbOauR56yB5P2NmR0ssii9wQmrNOCUJIs6CRqoc+fnihH0ddOEZZvKpRCQKMbBX 9moZneUoCSCctUR5CnV9UyrTgAxMSCzabksUZ9RHjyrdbfzFFPDuBDT3in0YwhgO3qKo /NOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rDLdOejq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b21-20020a17090a551500b001bd14e030b0si5184289pji.136.2022.04.06.07.26.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rDLdOejq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 46BD04FA7A9; Wed, 6 Apr 2022 05:09:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232133AbiDFMIM (ORCPT + 99 others); Wed, 6 Apr 2022 08:08:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233088AbiDFMHz (ORCPT ); Wed, 6 Apr 2022 08:07:55 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2887274E59; Tue, 5 Apr 2022 19:31:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 18A49CE2049; Wed, 6 Apr 2022 02:31:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22770C385A1; Wed, 6 Apr 2022 02:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649212263; bh=OEz1OieAEVLpYShok1rv8Y+hnxwh95YbTkBGw64pwW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rDLdOejqAdW9XOVth+WrjU+baIxSjLNJPcLDSEueYZr2QjP9LMESEcvtOFLlgiewO Ps5fBlEm8jcfnSFUDjLKK2MW1JXiV5NHyKsbPRWzprAxblhXP6HPis+AAOt1Q1AdEq M5gsFaLhjIyTE1JAKGLphHUMKLy/oo+VPYNbfk/otKFbSk3U67nX8OeBlVoIBrYv9b G/iMDtWoX8KafxRdEb/a3aD2QEfzknVMK3HVwr28GGnk1EDt7veCWcOonOCuFSpDlK xusJTTlbBMm9a3uYjtm7F/cU8qm6tFgV2ToNFSRaT4s7iSbF9VzmFd2aTRs1FrO2UX GRec1GFwCjC1A== From: Masami Hiramatsu To: Steven Rostedt Cc: Masami Hiramatsu , Padmanabha Srinivasaiah , LKML , Jonathan Corbet , linux-doc@vger.kernel.org, Randy Dunlap , Nick Desaulniers , Sami Tolvanen , Nathan Chancellor , llvm@lists.linux.dev, Masahiro Yamada , Linux Kbuild mailing list Subject: [PATCH v8 1/4] bootconfig: Make the bootconfig.o as a normal object file Date: Wed, 6 Apr 2022 11:30:59 +0900 Message-Id: <164921225875.1090670.15565363126983098971.stgit@devnote2> X-Mailer: git-send-email 2.25.1 In-Reply-To: <164921224829.1090670.9700650651725930602.stgit@devnote2> References: <164921224829.1090670.9700650651725930602.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Since the APIs defined in the bootconfig.o are not individually used, it is meaningless to build it as library by lib-y. Use obj-y for that. Reported-by: Masahiro Yamada Signed-off-by: Masami Hiramatsu --- Changes in v6: - Newly added. --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 353bc09ce38d..4fc48543dc8f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -276,7 +276,7 @@ $(foreach file, $(libfdt_files), \ $(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt)) lib-$(CONFIG_LIBFDT) += $(libfdt_files) -lib-$(CONFIG_BOOT_CONFIG) += bootconfig.o +obj-$(CONFIG_BOOT_CONFIG) += bootconfig.o obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o