Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EB987E00BA2; Sat, 13 Oct 2018 02:01:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [91.217.199.72 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mail2.advaoptical.com (mail2.advaoptical.com [91.217.199.72]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CA272E00A0C for ; Sat, 13 Oct 2018 02:01:53 -0700 (PDT) Received: from MUC-S-EX16C.advaoptical.com ([172.20.1.27]) by muc-vs-fsmail2.advaoptical.com (8.16.0.22/8.16.0.22) with ESMTPS id w9D91omo017012 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Sat, 13 Oct 2018 11:01:51 +0200 Received: from MGN-S-EX19B.advaoptical.com (172.25.1.194) by MUC-S-EX16C.advaoptical.com (172.20.1.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1591.10; Sat, 13 Oct 2018 11:01:50 +0200 Received: from MUC-S-EX19A.advaoptical.com (172.20.1.58) by MGN-S-EX19B.advaoptical.com (172.25.1.194) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.221.12; Sat, 13 Oct 2018 11:01:50 +0200 Received: from MUC-S-EX19A.advaoptical.com ([fe80::78d1:5dab:178d:a89c]) by MUC-S-EX19A.advaoptical.com ([fe80::78d1:5dab:178d:a89c%9]) with mapi id 15.02.0221.012; Sat, 13 Oct 2018 11:01:50 +0200 From: Kosta Zertsekel To: Raymond Yeung , "yocto@yoctoproject.org" Thread-Topic: Force rebuild to regenerate .ko Thread-Index: AQHUYdvR5gAR/XyIlkKR803FN/gS06Uc4qR2 Date: Sat, 13 Oct 2018 09:01:49 +0000 Message-ID: <78ae629ee3b44d61a411030b8c95daa8@advaoptical.com> References: , In-Reply-To: Accept-Language: en-IL, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.20.1.231] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-13_05:, , signatures=0 Subject: Re: Force rebuild to regenerate .ko X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 09:01:55 -0000 Content-Language: aa Content-Type: multipart/alternative; boundary="_000_78ae629ee3b44d61a411030b8c95daa8advaopticalcom_" --_000_78ae629ee3b44d61a411030b8c95daa8advaopticalcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please add more details. For example, where ixgbe.ko resides (what layer)? If it is in Linux kernel (linux-yocto package), then just: $ bitbake linux-yocto -c cleanall $ bitbake linux-yocto --- Kosta Z. ________________________________ From: yocto-bounces@yoctoproject.org on be= half of Raymond Yeung Sent: Friday, 12 October 2018 6:29:44 To: yocto@yoctoproject.org Subject: [yocto] Force rebuild to regenerate .ko I've a Intel Ethernet driver, ixgbe.ko. I made some changes (debug logs) t= o the source file. How do I force the .ko to be regenerated within yocto e= nvironment, without rebuilding the entire yocto code base? I tried to do bitbake of the image name earlier, but bitbake decides that t= here's nothing to be done. This is even after I'd removed the cache and ss= tate directories. Thanks, Raymond --_000_78ae629ee3b44d61a411030b8c95daa8advaopticalcom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Please add more details.


For example, where ixgbe.ko resides (what layer)?

If it is in Linux kernel (linux-yocto package), then just:

$ bitbake linux-yocto -c cleanall

$ bitbake linux-yocto


--- Kosta Z.



From: yocto-bounces@yoctopr= oject.org <yocto-bounces@yoctoproject.org> on behalf of Raymond Yeung= <rksyeung@hotmail.com>
Sent: Friday, 12 October 2018 6:29:44
To: yocto@yoctoproject.org
Subject: [yocto] Force rebuild to regenerate .ko
 
I've a Intel Ethernet driver, ixgbe.ko.  I made some changes (debug lo= gs) to the source file.  How do I force the .ko to be regenerated with= in yocto environment, without rebuilding the entire yocto code base?

I tried to do bitbake of the image name earlier, but bitbake decides that t= here's nothing to be done.  This is even after I'd removed the cache a= nd sstate directories.

Thanks,
Raymond
--_000_78ae629ee3b44d61a411030b8c95daa8advaopticalcom_--