Skip to contentSkip to conversation

xen/build: Nuke include/{config, generated} during clean

PATCH In review Andrew Cooper 3 participants 3 messages Aug 28, 2017 – Aug 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/build: Nuke include/{config, generated} during clean

Otherwise a stale generated Kconfig may still be used after a tree-wide clean.

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/include/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/Makefile +1 -1
index 3a6fa0f..ba36fe5 100644
@@ -144,5 +144,5 @@ all: $(BASEDIR)/include/asm-x86/cpuid-autogen.h
 endif
 
 clean::
-	rm -rf compat headers*.chk
+	rm -rf compat headers*.chk config generated
 	rm -f $(BASEDIR)/include/asm-x86/cpuid-autogen.h
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 28.08.17 at 20:20, <[email protected]> wrote:

Otherwise a stale generated Kconfig may still be used after a tree-wide clean.

with one minor request:

xen/include/Makefile all: $(BASEDIR)/include/asm-x86/cpuid-autogen.h · line 147

Quoted 8 lines
xen/include/Makefile +1 -1
@@ -144,5 +144,5 @@ all: $(BASEDIR)/include/asm-x86/cpuid-autogen.h
 endif
 
 clean::
-	rm -rf compat headers*.chk
+	rm -rf compat headers*.chk config generated

Would you mind either keeping directories together or sorting alphabetically (both of which will yield the same end result)?

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel