[Buildroot] [PATCH 10/10] barebox: migrate to the kconfig infrastructure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 14 16:37:13 UTC 2015


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/<foobar>_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



More information about the buildroot mailing list