[Buildroot] [PATCH] at91bootstrap3: new package
Simon Dawson
spdawson at gmail.com
Fri Jul 27 12:09:27 UTC 2012
On 27 July 2012 13:00, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Le Fri, 27 Jul 2012 12:45:06 +0100,
> spdawson at gmail.com a écrit :
>
>> +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y)
>> +AT91BOOTSTRAP3_SOURCE_CONFIG = \
>> + $(@D)/board/*/$(AT91BOOTSTRAP3_DEFCONFIG)_defconfig
>> +else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y)
>> +AT91BOOTSTRAP3_SOURCE_CONFIG = $(AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)
>> +endif
>> +
>> +define AT91BOOTSTRAP3_CONFIGURE_CMDS
>> + cp $(AT91BOOTSTRAP3_SOURCE_CONFIG) $(@D)/.config
>> + $(SED) 's/image.bin/uImage/' $(@D)/.config
>> +endef
>
> Are you this actually works? If the defconfig are minimal defconfigs
> generated by "make savedefconfig", then just copying them to .config
> and running make will ask the user the value of all options that are
> not defined in the .config file.
It does work, yes. (At least in the handful of cases that I've
tested.) Looking at the files, however, I don't think they really are
defconfigs proper: they appear to be full-blown configuration files.
Simon.
More information about the buildroot
mailing list