All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Anatoly Pugachev <matorola@gmail.com>
Cc: Kernelnewbies <kernelnewbies@kernelnewbies.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	driverdev-devel@linuxdriverproject.org,
	Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [OSSNA] Intro to kernel hacking tutorial
Date: Mon, 02 Sep 2019 10:08:54 -0400	[thread overview]
Message-ID: <490137.1567433334@turing-police> (raw)
In-Reply-To: <CADxRZqyBgDEiZaK5At2RoCHPNquRA6OWvFg2SU3TZ9hsqEs8rg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]

On Mon, 02 Sep 2019 15:42:19 +0300, Anatoly Pugachev said:

> is it intentionally that you use
>
> yes "" | make oldconfig
>
> instead of
>
> make olddefconfig

They do something different.  'olddefconfig' just takes the platform or
architecture defconfig and updates it for any new CONFIG_* variables added
since the last time the defconfig was updated in the tree.

yes "" | make oldconfig  does the same updating for new CONFIG_* variables, but
starts with the most recent .config - which produces wildly different results
if the .config had previously been minimized by 'make localmodconfig' or other
similar techniques.


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 169 bytes --]

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

WARNING: multiple messages have this Message-ID (diff)
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Anatoly Pugachev <matorola@gmail.com>
Cc: Kernelnewbies <kernelnewbies@kernelnewbies.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	driverdev-devel@linuxdriverproject.org,
	Amit Kumar <free.amit.kumar@gmail.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	"Tobin C. Harding" <me@tobin.cc>
Subject: Re: [OSSNA] Intro to kernel hacking tutorial
Date: Mon, 02 Sep 2019 10:08:54 -0400	[thread overview]
Message-ID: <490137.1567433334@turing-police> (raw)
In-Reply-To: <CADxRZqyBgDEiZaK5At2RoCHPNquRA6OWvFg2SU3TZ9hsqEs8rg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]

On Mon, 02 Sep 2019 15:42:19 +0300, Anatoly Pugachev said:

> is it intentionally that you use
>
> yes "" | make oldconfig
>
> instead of
>
> make olddefconfig

They do something different.  'olddefconfig' just takes the platform or
architecture defconfig and updates it for any new CONFIG_* variables added
since the last time the defconfig was updated in the tree.

yes "" | make oldconfig  does the same updating for new CONFIG_* variables, but
starts with the most recent .config - which produces wildly different results
if the .config had previously been minimized by 'make localmodconfig' or other
similar techniques.


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2019-09-02 14:09 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  2:50 [OSSNA] Intro to kernel hacking tutorial Tobin C. Harding
2019-07-05  3:32 ` Amit Kumar
2019-07-05  3:32   ` Amit Kumar
2019-07-05  5:10   ` Amit Kumar
2019-07-05  5:10     ` Amit Kumar
2019-07-08 23:46     ` Tobin C. Harding
2019-07-05  7:48 ` loïc tourlonias
2019-07-05  7:48   ` loïc tourlonias
2019-07-19  9:36 ` Dan Carpenter
2019-07-19  9:36   ` Dan Carpenter
2019-07-22  9:29   ` Tobin C. Harding
2019-07-22  9:29     ` Tobin C. Harding
2019-09-01  0:00     ` Amit Kumar
2019-09-01  0:00       ` Amit Kumar
2019-09-02  1:51       ` Tobin C. Harding
2019-09-02  1:51         ` Tobin C. Harding
2019-09-02  6:29         ` Amit Kumar
2019-09-02 12:42         ` Anatoly Pugachev
2019-09-02 12:42           ` Anatoly Pugachev
2019-09-02 14:08           ` Valdis Klētnieks [this message]
2019-09-02 14:08             ` Valdis Klētnieks
2019-09-03  1:49             ` Tobin C. Harding
2019-09-03  1:49               ` Tobin C. Harding
2019-09-04  9:55             ` Anatoly Pugachev
2019-09-04  9:55               ` Anatoly Pugachev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=490137.1567433334@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=dan.carpenter@oracle.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=matorola@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.