Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: Anatoly Pugachev <matorola@gmail.com>
To: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
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: Wed, 4 Sep 2019 12:55:00 +0300
Message-ID: <CADxRZqwucodwuLsT_CjPwva0ALk8=j2hZX5TjgcuYsH0dhn3+g@mail.gmail.com> (raw)
In-Reply-To: <490137.1567433334@turing-police>

On Mon, Sep 2, 2019 at 5:09 PM Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:
>
> 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.

Maybe i don't understand something, but someone would probably want to
patch kernel 'make help' accordingly , since current one lists:

$ make help
  oldconfig       - Update current config utilising a provided .config as base
  olddefconfig    - Same as oldconfig but sets new symbols to their
                    default value without prompting

Thanks.

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

      parent reply index

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  2:50 Tobin C. Harding
2019-07-05  3:32 ` 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-19  9:36 ` Dan Carpenter
2019-07-22  9:29   ` Tobin C. Harding
2019-09-01  0:00     ` Amit Kumar
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 14:08           ` Valdis Klētnieks
2019-09-03  1:49             ` Tobin C. Harding
2019-09-04  9:55             ` Anatoly Pugachev [this message]

Reply instructions:

You may reply publically 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='CADxRZqwucodwuLsT_CjPwva0ALk8=j2hZX5TjgcuYsH0dhn3+g@mail.gmail.com' \
    --to=matorola@gmail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=free.amit.kumar@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=me@tobin.cc \
    --cc=valdis.kletnieks@vt.edu \
    /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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox