From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21B7DC433DF for ; Tue, 7 Jul 2020 20:49:37 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D25D7206BE for ; Tue, 7 Jul 2020 20:49:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D25D7206BE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1jsuWP-0001HI-OX; Tue, 07 Jul 2020 16:48:57 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jsuWN-0001HB-IF for kernelnewbies@kernelnewbies.org; Tue, 07 Jul 2020 16:48:55 -0400 Received: from mr6.cc.vt.edu (mr6.cc.ipv6.vt.edu [IPv6:2607:b400:92:8500:0:af:2d00:4488]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 067KmsHf015830 for ; Tue, 7 Jul 2020 16:48:54 -0400 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mr6.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 067Kmn67021319 for ; Tue, 7 Jul 2020 16:48:54 -0400 Received: by mail-qk1-f198.google.com with SMTP id q192so19223340qka.13 for ; Tue, 07 Jul 2020 13:48:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=iVpz9MngaO2CiQezzchOR7soybfONkm0zQzz2NUWwKc=; b=cPPv5qwRGSk5NiXVKztiZOvZPBJMBbXjd9HKlL5hQNFZjEIXFfQWQetRfbVnAST56z vnSelbuoiqGYLyQYCp7gYwns1sAmfuKBgPSO835LX49S/vp+aclmMYnrubKc29iMZaZl ocHhOOJu5aAHT7topBtwjikMauI1Ps8xcrBA+F0B+0KsSvV0XnnZodvaLCZUfNZCjREQ 6QMtcrjAr3+5o//PffbicaAJ2xhbRIntSL46AnGWptXru55yrjH+kPVZiwu1IRcauwBl XvFhThFhfK7Kl+JIEMKJupFf6rsXJwW26uGeIDhLR2mNqTp9XGJkX8rk3W8uOR7fRfKy /m3g== X-Gm-Message-State: AOAM532sUrbSpSruMuijWYnNJcofrk77tsDqlsByTi6yOlvVCO/ZXJrz SCCzblhWFCXBHNrGf/gEggI37SYd0fllzKHmZ9IB1SlSl3LvnaSBEbE6LhmfgdgOm0mAhQEjel1 zrceVe5b1phrsKXYiFUnsCpNYMdqs/LIHBYa3lLo= X-Received: by 2002:a37:43cb:: with SMTP id q194mr53486771qka.154.1594154926763; Tue, 07 Jul 2020 13:48:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6vhZerXaB3iJOj7gJYR8+GrZ+t+IEmEGyVMuMxeP+aSEmS0VHxidt5hq1X0OJjHJ1INX5bQ== X-Received: by 2002:a37:43cb:: with SMTP id q194mr53486743qka.154.1594154926316; Tue, 07 Jul 2020 13:48:46 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id q189sm25668149qkd.57.2020.07.07.13.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 13:48:44 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: =?utf-8?Q?Bj=F8rn?= Mork Subject: Re: Kbuild support for rebuilding a single driver gone? In-Reply-To: <87sge3bjl9.fsf@miraculix.mork.no> References: <87sge3bjl9.fsf@miraculix.mork.no> Mime-Version: 1.0 Date: Tue, 07 Jul 2020 16:48:43 -0400 Message-ID: <20135.1594154923@turing-police> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8083680870240402846==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8083680870240402846== Content-Type: multipart/signed; boundary="==_Exmh_1594154923_18128P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1594154923_18128P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, 07 Jul 2020 14:22:42 +0200, Bj=F8rn Mork said: > I have =22always=22 tested simple patches by rebuilding just the affect= ed > driver on whatever kernel I happen to run. Like this: > make -C /lib/modules/4.19.0-9-amd64/build M=3D=24(pwd)/drivers/net/usb= qmi_wwan.ko I suspect the problem is that M=3D is causing everything in that directo= ry to be rebuilt, possibly because it points at itself rather than an output direc= tory elsewhere. Because it points at itself, why are you even specifying it, instead of j= ust saying make -C /lib/modules/4.19.0-9-amd64/build drivers/net/usb/qmi_wwan.ko (For that matter, using a 4.19 directory for -C when you're apparently working with a git tree is probably rather sketchy as well... --==_Exmh_1594154923_18128P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXwTfqwdmEQWDXROgAQLJ7BAAhuNDwHBS3g5SGW8CjYgNjuO/tax/7dsx zAU4ZY6A5fU7XfG9XSXDqszhCVz2V8tdSaQFs5oAt9Ll9jZZGUNIvzBYuc8p2f0U PEN7dOrRePGbf4aRujYvgsxt82ZcqLUyy2r3fTqPMYJuWlAV6+crCjI3rhXKtml5 VzxAa+a+V2cEu9fisk93tbyUTRwzvbWeJb2/YwENV1yldhEkx1b+4LcnBpz3sgKX vUQqHlgHO80DiMeXkJil3iYtCR6/8R8tgNsSZGx5qYHFTRgnI2Sx6qJubjPBnKVj 4cTMja5ssV7qq9HoM0EYa2vA0Ij4cUocMQzaQiuP61dLi9kSC6xu5cyI9o+MGW8C ckYJmlUpZyIoc8j5jswWtzP913Z5nEJ1xOHP1nprBOlFf1Qzq6pCGYTuXFp+GPCv RdiN/N8Qcc+Ln8A/hZNqGMIe35RWGAbPZFq6XAHL5RRWXDPko/6R9x/a4Er5+eb9 FY7fkNkpEUHFHZIB0VE4FjTlb3h1bsMokYqMZHvvR/xAsZOR3exPIjc5jMuQW0th 7o7PmPXd4+gu5PyTSiqpXR6SkwxhzGy1vhKsNxApe2OJ7fD+72j8fsOxu+fSnx2y wC50pZLjlyzYM4KNCdUSRByv2NORUavaDV5klfFMDnjWxTENVE53ufDM+IP8VFcF ZbFMpJ9eZYA= =LLsA -----END PGP SIGNATURE----- --==_Exmh_1594154923_18128P-- --===============8083680870240402846== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8083680870240402846==--