mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Verych <olecom@flower.upol.cz>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
	Rusty Russell <rusty@rustcorp.com.au>,
	LKML <linux-kernel@vger.kernel.org>,
	kbuild-devel@lists.sourceforge.net
Subject: Re: [patch] kbuild: remember ARCH in the object directory
Date: Tue, 12 Jun 2007 19:19:22 +0200	[thread overview]
Message-ID: <20070612171922.GG7266@flower.upol.cz> (raw)
In-Reply-To: <20070612091209.760b5225.randy.dunlap@oracle.com>

On Tue, Jun 12, 2007 at 09:12:09AM -0700, Randy Dunlap wrote:
[]
> I did:
> 
> # build a linux-2.6.22-rc4-git4 kernel source tree & cd into it
> # mkdir BLD
> $ make ARCH=i386 O=BLD defconfig
> $ make -j4 O=BLD all >BLD/bld.out 2>&1
> 
> and it cried to me:
> 
>   GEN     /scsi/linsrc/linux-2.6.22-rc4-git4/BLD/Makefile
> scripts/kconfig/conf -s arch/x86_64/Kconfig
> #... many config warning lines
> *
> * Restart config...
> *
> *
> * Processor type and features
> *
> Subarchitecture Type
> > 1. PC-compatible (X86_PC)
>   2. Support for ScaleMP vSMP (X86_VSMP) (NEW)
> choice[1-2]: aborted!
> 
> Console input/output is redirected. Run 'make oldconfig' to update configuration.
> 
> make[3]: *** [silentoldconfig] Error 1
> make[2]: *** [silentoldconfig] Error 2
> make[1]: *** [include/config/auto.conf] Error 2
> make: *** [all] Error 2
> 
[] 

> What did I do wrong??

That Makefile is used only, if you are *in* that obj. directory.
Thus `cd BLD` is what you've forget.

There must be a better way to have this kind of choice be saved,
but it's chicken-and-egg issue from the kconfig POV.

As i'm always try to use separate obj. dir., i've made life easier
*in* it.
____

  reply	other threads:[~2007-06-12 17:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  9:51 [patch 4/9] lguest: the asm offsets akpm
2007-05-09 20:46 ` Sam Ravnborg
2007-05-10  0:09   ` Rusty Russell
2007-06-11 12:49     ` Oleg Verych
2007-06-11 12:59       ` Sam Ravnborg
2007-06-12 10:31         ` [patch] kbuild: remember ARCH in the object directory Oleg Verych
2007-06-12 15:04           ` Randy Dunlap
2007-06-12 16:12           ` Randy Dunlap
2007-06-12 17:19             ` Oleg Verych [this message]
2007-06-12 18:09               ` Sam Ravnborg
2007-06-13  2:12                 ` [kbuild-devel] " H. Peter Anvin

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=20070612171922.GG7266@flower.upol.cz \
    --to=olecom@flower.upol.cz \
    --cc=kbuild-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=rusty@rustcorp.com.au \
    --cc=sam@ravnborg.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®