All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Porcel <nicolasporcel06@gmail.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: Re: [PATCH 2/2] kconfig: support out of tree KCONFIG_CONFIG
Date: Sun, 3 Sep 2017 00:21:01 +0200	[thread overview]
Message-ID: <20170902222101.GA5414@nicolas-netbook> (raw)
In-Reply-To: <CAK7LNAQWFKFcm2PbOc-wc2bP1YmKBObhyyWr51mw6MCZRzVGOQ@mail.gmail.com>

On Sat, Sep 02, 2017 at 04:31:44PM +0900, Masahiro Yamada wrote:
> 2017-08-19 7:20 GMT+09:00 Nicolas Porcel <nicolasporcel06@gmail.com>:
> 
> If the kernel source is not writable, O= should be used.

You are right, I didn't know O= worked for kernel config.

> I think KCONFIG_CONFIG only contains a file name
> and this restriction is intentional
> because conf_write() might be called with a directory path (for
> example from gconf.c)
> 
> 
> If we change the behavior,
> I think conf_write() should just error-out
> when directory path is given.
> 

When I build a kernel, I set KCONFIG_CONFIG to reference a file on a
different file-system than the build directory. It used to work before
kernel 4.12, hence my patch.

I now realize that I misunderstood the purpose of this variable. It
also means that it is not possible to store the configuration file
outside the build directory when using silentconfig for instance.

Of course, I can use a symlink with KCONFIG_OVERWRITECONFIG, but it
may be an interesting feature to be able to specify an absolute path
for the kernel config file.

Best regards,

-- 
Nicolas Porcel

  reply	other threads:[~2017-09-02 22:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18 22:20 [PATCH 0/2] Improve KCONFIG_CONFIG use in kconfig Nicolas Porcel
2017-08-18 22:20 ` [PATCH 1/2] kconfig: Use KCONFIG_CONFIG in buildtar Nicolas Porcel
2017-09-02  4:58   ` Masahiro Yamada
2017-08-18 22:20 ` [PATCH 2/2] kconfig: support out of tree KCONFIG_CONFIG Nicolas Porcel
2017-09-02  7:31   ` Masahiro Yamada
2017-09-02 22:21     ` Nicolas Porcel [this message]
2017-09-20  9:56       ` Masahiro Yamada
2017-09-21 23:41         ` Nicolas Porcel
2017-09-02  4:55 ` [PATCH 0/2] Improve KCONFIG_CONFIG use in kconfig Masahiro Yamada

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=20170902222101.GA5414@nicolas-netbook \
    --to=nicolasporcel06@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=yamada.masahiro@socionext.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.