From 55e2a6b1cf7ee69819d9f8388d2eba35fc077c2a Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Mon, 26 Apr 2021 10:28:40 +0200 Subject: v7a, mips: fix barebox-common oldconfig with inherited layers When using layers that inherit DistroKit, doing a 'ptxdist oldconfig barebox-common' in the inherited layer can lead to strange errors about unmatched MD5 sums in the config diff. This happens because ptxd_make_world_kconfig_mode() in scripts/lib/ptxd_make_world_kconfig.sh only updates the config files when the stage name matches "*config". Rename the "barebox-common_oldconfig_" target to something that matches the regex. As a side note, we still need a separate oldconfig target for barebox-common here because it must run before all other barebox's oldconfig stages. Signed-off-by: Roland Hieber Link: https://lore.pengutronix.de/20210426082840.5999-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel --- configs/platform-v7a/rules/barebox-common.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/platform-v7a') diff --git a/configs/platform-v7a/rules/barebox-common.make b/configs/platform-v7a/rules/barebox-common.make index 39e8600..d0caead 100644 --- a/configs/platform-v7a/rules/barebox-common.make +++ b/configs/platform-v7a/rules/barebox-common.make @@ -78,7 +78,7 @@ $(STATEDIR)/barebox-common.install: barebox-common_menuconfig barebox-common_nconfig: $(STATEDIR)/barebox-common.extract @$(call world/kconfig, BAREBOX_COMMON, $(subst barebox-common_,,$@)) -barebox-common_oldconfig_: $(STATEDIR)/barebox-common.extract +barebox-common_do_oldconfig: $(STATEDIR)/barebox-common.extract @$(call world/kconfig, BAREBOX_COMMON, oldconfig) # vim: syntax=make -- cgit v1.2.3