Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/pkg-generic: fix reconfigure for kconfig packages
@ 2019-11-24 23:10 Angelo Compagnucci
  2019-11-25 17:32 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Angelo Compagnucci @ 2019-11-24 23:10 UTC (permalink / raw)
  To: buildroot

Kconfig based packages are not really reconfigured if the .config file is not
regenerated in the reconfigure target.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
---
 package/pkg-generic.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 7d6fa08418..d7a678412e 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -693,6 +693,7 @@ $(2)_TARGET_EXTRACT =		$$($(2)_DIR)/.stamp_extracted
 $(2)_TARGET_SOURCE =		$$($(2)_DIR)/.stamp_downloaded
 $(2)_TARGET_ACTUAL_SOURCE =	$$($(2)_DIR)/.stamp_actual_downloaded
 $(2)_TARGET_DIRCLEAN =		$$($(2)_DIR)/.stamp_dircleaned
+$(2)_TARGET_DOTCONFIG =		$$($(2)_DIR)/.stamp_dotconfig
 
 # default extract command
 $(2)_EXTRACT_CMDS ?= \
@@ -904,6 +905,7 @@ $(1)-rebuild:		$(1)-clean-for-rebuild $(1)
 
 $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild
 			rm -f $$($(2)_TARGET_CONFIGURE)
+			rm -f $$($(2)_TARGET_DOTCONFIG)
 
 $(1)-reconfigure:	$(1)-clean-for-reconfigure $(1)
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-27  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-24 23:10 [Buildroot] [PATCH] package/pkg-generic: fix reconfigure for kconfig packages Angelo Compagnucci
2019-11-25 17:32 ` Thomas Petazzoni
2019-11-26 22:54   ` Arnout Vandecappelle
2019-11-27  7:54     ` Angelo Compagnucci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox