[Buildroot] [PATCH] at91bootstrap3: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 27 12:00:10 UTC 2012


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.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list