From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 27 Jul 2012 14:00:10 +0200 Subject: [Buildroot] [PATCH] at91bootstrap3: new package In-Reply-To: <1343389506-7469-1-git-send-email-spdawson@gmail.com> References: <1343389506-7469-1-git-send-email-spdawson@gmail.com> Message-ID: <20120727140010.2a926b49@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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