* defconfig for v850, please @ 2005-07-20 9:22 Jan Dittmer 2005-07-20 9:35 ` Miles Bader 0 siblings, 1 reply; 8+ messages in thread From: Jan Dittmer @ 2005-07-20 9:22 UTC (permalink / raw) To: Miles Bader; +Cc: linux-kernel Miles, while you're at it patching v850 here and there, could you please also provide a resonable defconfig for v850, so that $ make ARCH=v850 CROSS_COMPILE=... defconfig $ make ARCH=v850 CROSS_COMPILE=... works? Then my cross-compile tests at http://l4x.org/k could probably provide somewhat meanigful results for this arch?! Thanks, -- Jan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 9:22 defconfig for v850, please Jan Dittmer @ 2005-07-20 9:35 ` Miles Bader 2005-07-20 9:48 ` Jan Dittmer 0 siblings, 1 reply; 8+ messages in thread From: Miles Bader @ 2005-07-20 9:35 UTC (permalink / raw) To: Jan Dittmer; +Cc: Miles Bader, linux-kernel 2005/7/20, Jan Dittmer <jdittmer@ppp0.net>: > while you're at it patching v850 here and there, could you please > also provide a resonable defconfig for v850, so that I must admit it's because I've never quite understood how the defconfig stuff works... I'll look into it I guess... -miles -- Do not taunt Happy Fun Ball. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 9:35 ` Miles Bader @ 2005-07-20 9:48 ` Jan Dittmer 2005-07-20 10:02 ` Miles Bader 0 siblings, 1 reply; 8+ messages in thread From: Jan Dittmer @ 2005-07-20 9:48 UTC (permalink / raw) To: snogglethorpe, miles; +Cc: linux-kernel Miles Bader wrote: > 2005/7/20, Jan Dittmer <jdittmer@ppp0.net>: > >>while you're at it patching v850 here and there, could you please >>also provide a resonable defconfig for v850, so that > > > I must admit it's because I've never quite understood how the > defconfig stuff works... I'll look into it I guess... I think you just need to provide a file called 'defconfig' in arch/v850/ Thanks, -- Jan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 9:48 ` Jan Dittmer @ 2005-07-20 10:02 ` Miles Bader 2005-07-20 10:11 ` Jan Dittmer 2005-07-20 11:52 ` Paul Mundt 0 siblings, 2 replies; 8+ messages in thread From: Miles Bader @ 2005-07-20 10:02 UTC (permalink / raw) To: Jan Dittmer; +Cc: miles, linux-kernel 2005/7/20, Jan Dittmer <jdittmer@ppp0.net>: > > I must admit it's because I've never quite understood how the > > defconfig stuff works... I'll look into it I guess... > > I think you just need to provide a file called 'defconfig' in > arch/v850/ Hmmm... Some archs seem to provide defconfigs for various different platforms, which seems nice, and there seems to be some sort of framework for doing this, but ... -Miles -- Do not taunt Happy Fun Ball. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 10:02 ` Miles Bader @ 2005-07-20 10:11 ` Jan Dittmer 2005-07-20 11:52 ` Paul Mundt 1 sibling, 0 replies; 8+ messages in thread From: Jan Dittmer @ 2005-07-20 10:11 UTC (permalink / raw) To: snogglethorpe, miles; +Cc: linux-kernel Miles Bader wrote: > 2005/7/20, Jan Dittmer <jdittmer@ppp0.net>: > >>>I must admit it's because I've never quite understood how the >>>defconfig stuff works... I'll look into it I guess... >> >>I think you just need to provide a file called 'defconfig' in >>arch/v850/ > > > Hmmm... > > Some archs seem to provide defconfigs for various different platforms, > which seems nice, and there seems to be some sort of framework for > doing this, but ... dropping them in arch/v850/configs/{yourwildplatform}_defconfig seems to be the way most archs do this (ia64, arm). They also provide a common defconfig file in arch/v850/ . HTH, -- Jan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 10:02 ` Miles Bader 2005-07-20 10:11 ` Jan Dittmer @ 2005-07-20 11:52 ` Paul Mundt 2005-07-20 13:01 ` Jan Dittmer 1 sibling, 1 reply; 8+ messages in thread From: Paul Mundt @ 2005-07-20 11:52 UTC (permalink / raw) To: snogglethorpe, miles; +Cc: Jan Dittmer, linux-kernel [-- Attachment #1: Type: text/plain, Size: 919 bytes --] On Wed, Jul 20, 2005 at 07:02:53PM +0900, Miles Bader wrote: > Some archs seem to provide defconfigs for various different platforms, > which seems nice, and there seems to be some sort of framework for > doing this, but ... > For most of the architectures aimed at embedded systems, having an arch/foo/defconfig makes no sense. The basic "framework" is to have arch/foo/configs and place all of your board-specific defconfigs in there (as boardname_defconfig -- the reason for this is that you get free make targets of the same name which copy the defconfig over, see 'make help'). If you have a particular board that you can assume will be kept reasonably up-to-date, you can set KBUILD_DEFCONFIG in your Makefile to set the default config to use by name, and then you can forego having an arch/foo/defconfig entirely (you can look at sh and some of the other architectures to see this being done). [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 11:52 ` Paul Mundt @ 2005-07-20 13:01 ` Jan Dittmer 2005-07-20 14:20 ` Paul Mundt 0 siblings, 1 reply; 8+ messages in thread From: Jan Dittmer @ 2005-07-20 13:01 UTC (permalink / raw) To: Paul Mundt; +Cc: snogglethorpe, miles, linux-kernel Paul Mundt wrote: > On Wed, Jul 20, 2005 at 07:02:53PM +0900, Miles Bader wrote: > >>Some archs seem to provide defconfigs for various different platforms, >>which seems nice, and there seems to be some sort of framework for >>doing this, but ... >> > > For most of the architectures aimed at embedded systems, having an > arch/foo/defconfig makes no sense. The basic "framework" is to have Still, for basic compile testing and testing patches on other architectures it would be nice, when the patch writer can test his/her patch with a simple defconfig, without knowing a common platform for this target arch. So please include a defconfig with a reasonable common set of CONFIG_* options. It's about testing the core of the architecure not about random driver failures. > arch/foo/configs and place all of your board-specific defconfigs in there > (as boardname_defconfig -- the reason for this is that you get free make > targets of the same name which copy the defconfig over, see 'make help'). > > If you have a particular board that you can assume will be kept > reasonably up-to-date, you can set KBUILD_DEFCONFIG in your Makefile to > set the default config to use by name, and then you can forego having an > arch/foo/defconfig entirely (you can look at sh and some of the other > architectures to see this being done). arm is another one which uses this style, ia64 for example uses configs/* and defconfig. But on arm and sh `make defconfig` works contrary to v850. Thanks, -- Jan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: defconfig for v850, please 2005-07-20 13:01 ` Jan Dittmer @ 2005-07-20 14:20 ` Paul Mundt 0 siblings, 0 replies; 8+ messages in thread From: Paul Mundt @ 2005-07-20 14:20 UTC (permalink / raw) To: Jan Dittmer; +Cc: snogglethorpe, miles, linux-kernel [-- Attachment #1: Type: text/plain, Size: 803 bytes --] On Wed, Jul 20, 2005 at 03:01:56PM +0200, Jan Dittmer wrote: > Still, for basic compile testing and testing patches on other > architectures it would be nice, when the patch writer can test his/her > patch with a simple defconfig, without knowing a common platform for > this target arch. This is what KBUILD_DEFCONFIG is for. A general purpose defconfig that has no hope of being kept up-to-date is worse than useless. > arm is another one which uses this style, ia64 for example uses configs/* > and defconfig. But on arm and sh `make defconfig` works contrary to v850. > That's because it looks at KBUILD_DEFCONFIG.. We absolutely do not want to have an arch/foo/defconfig for most of these architectures, and I doubt that v850 is an exception. Note that sh also does not have one. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-20 14:20 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-07-20 9:22 defconfig for v850, please Jan Dittmer 2005-07-20 9:35 ` Miles Bader 2005-07-20 9:48 ` Jan Dittmer 2005-07-20 10:02 ` Miles Bader 2005-07-20 10:11 ` Jan Dittmer 2005-07-20 11:52 ` Paul Mundt 2005-07-20 13:01 ` Jan Dittmer 2005-07-20 14:20 ` Paul Mundt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox