Re: defconfig for v850, please

From: Paul Mundt
Date: Wed Jul 20 2005 - 06:53:27 EST


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: pgp00000.pgp
Description: PGP signature