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
| ||
|
Message-Id: <20071008222839.5d595cc9.randy.dunlap@oracle.com> Date: Mon, 8 Oct 2007 22:28:39 -0700 From: Randy Dunlap <randy.dunlap@...cle.com> To: lkml <linux-kernel@...r.kernel.org>, starvik@...s.com Cc: Sam Ravnborg <sam@...nborg.org>, Oleg Verych <olecom@...wer.upol.cz>, kbuild devel <kbuild-devel@...ts.sourceforge.net> Subject: Re: [RFC/RFT] kbuild: save ARCH & CROSS_COMPILE On Mon, 8 Oct 2007 21:53:16 -0700 Randy Dunlap wrote: > On Tue, 9 Oct 2007 06:17:43 +0200 Sam Ravnborg wrote: > > > > > > > What about, that this is the first ever prompt, that must be shown and > > > written to the .config? > > Two issues to fix before we can do this: > > 1) chocie values cannot have more than one prompt > > 2) We need to share much more Kconfig* between the individual architectures > > First step is to let all arch's use drivers/Kconfig > > 2) isn't terribly difficult, just takes some time and willingness > of $arch maintainers to some changes, but please explain a bit more > why it is needed...? Maybe I didn't read carefully: "to add arch selection to kconfig".. arch/cris using drivers/Kconfig: patch is below (maintainer is cc-ed) > > Let's get the two items above solved then we can revisit adding arch selection > > to kconfig (where it belongs in the end). > > And neither require a rewrite of kconfig... > > > > > Also, i'd like to propose sequencing of config-enable-build-this-unit > > > in config file(s), thus Makefile(s) (sometimes very small and stupid) > > > will be not necessary. Additional link ordering can be supplied as > > > meta-config information there. Shell scripting, very ugly in the view > > > of make syntax, will be natural in config files. Extending build > > > process to get hidden dependencies or right linking/other magic is > > > part of particular configuration. Hm? > > Discussed before but so far no patches has shown up. --- From: Randy Dunlap <randy.dunlap@...cle.com> Move arch/cris to using drivers/Kconfig for its drivers config list. When all arches do this, Sam can make more interesting improvements to .config files. Using drivers/Kconfig adds these kconfig files to cris: connector, misc, ata, message/fusion (not avail.), macintosh (not avail.), i2c, spi, w1, power, hwmon, mfd, video, hid, mmc, leds, infiniband (not avail.), edac (not avail.), rtc, dma, auxdisplay, kvm (not avail.), uio, and lguest (not avail.). Many of these are already enabled/disabled per arch., so adding that for cris can be done as required. "not avail." means that this menu is not valid for this arch. and won't be presented to users when running 'make *config'. Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com> --- arch/cris/Kconfig | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) --- linux-2.6.23-rc9-git6.orig/arch/cris/Kconfig +++ linux-2.6.23-rc9-git6/arch/cris/Kconfig @@ -153,49 +153,11 @@ source arch/cris/arch-v10/drivers/Kconfi endmenu -source "drivers/base/Kconfig" - # standard linux drivers -source "drivers/mtd/Kconfig" - -source "drivers/parport/Kconfig" - -source "drivers/pnp/Kconfig" - -source "drivers/block/Kconfig" - -source "drivers/md/Kconfig" - -source "drivers/ide/Kconfig" - -source "drivers/scsi/Kconfig" - -source "drivers/ieee1394/Kconfig" - -source "drivers/message/i2o/Kconfig" - -source "drivers/net/Kconfig" - -source "drivers/isdn/Kconfig" - -source "drivers/telephony/Kconfig" - -# -# input before char - char/joystick depends on it. As does USB. -# -source "drivers/input/Kconfig" - -source "drivers/char/Kconfig" - -#source drivers/misc/Config.in -source "drivers/media/Kconfig" +source "drivers/Kconfig" source "fs/Kconfig" -source "sound/Kconfig" - -source "drivers/usb/Kconfig" - source "arch/cris/Kconfig.debug" source "security/Kconfig" - 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