lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 12 Jun 2007 19:19:22 +0200
From:	Oleg Verych <olecom@...wer.upol.cz>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Sam Ravnborg <sam@...nborg.org>,
	Rusty Russell <rusty@...tcorp.com.au>,
	LKML <linux-kernel@...r.kernel.org>,
	kbuild-devel@...ts.sourceforge.net
Subject: Re: [patch] kbuild: remember ARCH in the object directory

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.
____
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ