All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] core: distclean is a noconfig target
@ 2016-09-11 12:56 Yann E. MORIN
  2016-09-11 13:34 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2016-09-11 12:56 UTC (permalink / raw)
  To: buildroot

When the .config contains invalid configuration *(e.g. two providers for
a same virtual pacakge), it is not possible to run "make distclean"
becasue the .config file is sourced and packages interpreted in this
case.

Add distclean to the noconfig list, so that we can run it in all cases.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dfef021..f29f957 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ export BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlo
 noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \
 	defconfig %_defconfig allyesconfig allnoconfig silentoldconfig release \
 	randpackageconfig allyespackageconfig allnopackageconfig \
-	print-version olddefconfig
+	print-version olddefconfig distclean
 
 # Some global targets do not trigger a build, but are used to collect
 # metadata, or do various checks. When such targets are triggered,
-- 
2.7.4

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

end of thread, other threads:[~2016-09-11 20:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-11 12:56 [Buildroot] [PATCH] core: distclean is a noconfig target Yann E. MORIN
2016-09-11 13:34 ` Thomas Petazzoni
2016-09-11 13:46   ` Yann E. MORIN
2016-09-11 20:44     ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.