From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 14 Feb 2015 17:37:13 +0100 Subject: [Buildroot] [PATCH 10/10] barebox: migrate to the kconfig infrastructure In-Reply-To: References: Message-ID: <20150214173713.53782bb1@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Yann E. MORIN, On Tue, 3 Feb 2015 15:21:50 +0100, Yann E. MORIN wrote: > ifeq ($(BR2_TARGET_BAREBOX_USE_DEFCONFIG),y) > BAREBOX_SOURCE_CONFIG = $(@D)/arch/$(BAREBOX_ARCH)/configs/$(call qstrip,\ This $(@D) was causing problems: Barebox was being constantly rebuilt, because '/arch/arm/configs/_defconfig' does not exist. This is because $(@D) does not exist at this point. I've instead used $(BAREBOX_DIR), just like the Linux kernel uses $(LINUX_DIR). This solved the problem. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com