Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp109904iof; Sun, 5 Jun 2022 22:40:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXpltvOHnnKISXSgqo04U/Fy9n2zI7IMM7/7JoIHNF1iITvbVQd0e/metJ+G8dPypmYM9I X-Received: by 2002:a17:902:e54c:b0:166:6322:e747 with SMTP id n12-20020a170902e54c00b001666322e747mr17178126plf.151.1654494055244; Sun, 05 Jun 2022 22:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654494055; cv=none; d=google.com; s=arc-20160816; b=paxBz1fyAE/+z3GYaP0D51HpqiYpNF5B1mU53eZRaajq0EIAkcF2J+NhVTiaRet9g8 kjPsEOt7hj90Q2308/lXDG+w1JwA/tmyYyjFBJMJKN9B4ATtyFwgbAYAw/CLG5ZUy/fd x/16kYkIEnzWeQc0GLUiI3XCyvaA/3Kp2cgHGEPxzodl5wMRzeBDpbF9Cea1hme3nDD8 mxyiGXMkHJxibiKCZpOWHsCICDdnRn59iUscFYCX19hrlimLn60gKWRmiqx4B7VH59I4 Jm5tvyc6UN9NSAxieSvEwYzyixmxajuyNh/qmbwwCmHUcLpE44nPSqeX6Q18CSqaGzdo 3EqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=37deUotoMR9ZGqhGTd+9rDpwRRFmLIFkRH+/vm/V6rI=; b=B0IfhvAvzeT6qOrDpnHhXc89W/JhA9dAjSRs+pcgGFl+C3yik5Rg3mou1AsqyraOks j8w/oQEv1kQwQLWXYjuHmckqMQiakmbyBMbDFAYHrHQD13G4FHicwVGDIzXp5qyZdFoe 7U1iu60xNuxuznvut0gnxuQ9GJgFdvv/1HFExoVFvlFiRVdeB8SvEJcKwl0X2/wO+xUM cbAS1xGWXXuTe+fwcdCJPwbHv3Tuq4BImjAdWKNvPsAPAR6OF9zRQU+TdTbCJ9psoJia ZAk2eGGa29diAfM+/h1QognWypxPRLF7OdLQ4uuGzL16JuKwQcTAhp3CNiw+Yeb1EMbc jDzA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d205-20020a621dd6000000b0051ba522e685si19050436pfd.173.2022.06.05.22.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:40:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19AB52F44B2; Sun, 5 Jun 2022 21:47:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234579AbiFDNqZ (ORCPT + 99 others); Sat, 4 Jun 2022 09:46:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbiFDNqW (ORCPT ); Sat, 4 Jun 2022 09:46:22 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C402BB23 for ; Sat, 4 Jun 2022 06:46:20 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxU6c-00055f-B1; Sat, 04 Jun 2022 15:46:18 +0200 Received: from pengutronix.de (unknown [IPv6:2a01:4f8:1c1c:29e9:22:41ff:fe00:1400]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 96BE98C377; Sat, 4 Jun 2022 13:46:16 +0000 (UTC) Date: Sat, 4 Jun 2022 15:46:15 +0200 From: Marc Kleine-Budde To: Vincent Mailhol Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, Max Staudt , Oliver Hartkopp , netdev@vger.kernel.org Subject: Re: [PATCH v4 2/7] can: Kconfig: turn menu "CAN Device Drivers" into a menuconfig using CAN_DEV Message-ID: <20220604134615.l7qtyam6kmqboujo@pengutronix.de> References: <20220513142355.250389-1-mailhol.vincent@wanadoo.fr> <20220603102848.17907-1-mailhol.vincent@wanadoo.fr> <20220603102848.17907-3-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pvkdbv5sicbki4qw" Content-Disposition: inline In-Reply-To: <20220603102848.17907-3-mailhol.vincent@wanadoo.fr> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --pvkdbv5sicbki4qw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My previous mail on this was wrong (as you noticed).... so here's the corrected one (hopefully). On 03.06.2022 19:28:43, Vincent Mailhol wrote: > diff --git a/drivers/net/can/dev/Makefile b/drivers/net/can/dev/Makefile > index 5b4c813c6222..919f87e36eed 100644 > --- a/drivers/net/can/dev/Makefile > +++ b/drivers/net/can/dev/Makefile > @@ -1,9 +1,11 @@ > # SPDX-License-Identifier: GPL-2.0 > =20 > -obj-$(CONFIG_CAN_NETLINK) +=3D can-dev.o > -can-dev-y +=3D bittiming.o > -can-dev-y +=3D dev.o > -can-dev-y +=3D length.o > -can-dev-y +=3D netlink.o > -can-dev-y +=3D rx-offload.o > -can-dev-y +=3D skb.o > +obj-$(CONFIG_CAN_DEV) +=3D can-dev.o > + > +can-dev-$(CONFIG_CAN_DEV) +=3D skb.o ^^^^^^^^^^^^^^^^ As "skb.o" is always part of "can-dev.o" (if build at all), you can use "can-dev-y" here. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --pvkdbv5sicbki4qw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmKbYiQACgkQrX5LkNig 012l2gf/YsNjl48yYp2YEyLJmGsd69HaA37eYqom1L74OW9JPO9Gx2alg4uULFXL Y2pcFSHVqKAWefFuIh5MeE3b5+ARJkwEdqggBPSy1Z88LqW+zNp/oA7gIIHtgjGC AzyEEj8FyHFFAk2lqzGgMenGYxzVxFyba6NtXGWzc/aTT7ltWwFUaKPOSBkInvmf Y0hAQmOggGxuMKES7H+JBXTYCoewgn2dOkazxBn/8Xllg4porzsCGCBOTijEbYr0 /YHerEoOBecHcf5SsoG1QmLdfBEI7VpqjicPQ1arODIR84j+GvfFym+7TjjtJJfy ji0E0hivJG2/HzmzsjKrXKZAQDekrw== =iouw -----END PGP SIGNATURE----- --pvkdbv5sicbki4qw--