What | Removed | Added |
---|---|---|
CC | jslaby@suse.com, msuchanek@suse.com | |
Flags | needinfo?(msuchanek@suse.com) |
Our rpm/kernel-binary.spec.in does: make clean $MAKE_ARGS prior to: find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%%P\n' \ > %my_builddir/obj-files s390 does this on clean: archclean: $(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(tools) But these two headers are generated in arch/s390/tools/: kapi-hdrs-y := $(kapi)/facility-defs.h $(kapi)/dis-defs.h So they are not a part of kernel-default-devel (and they should). We should perhaps add them to this list in the spec file: # These files are required for building external modules for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o arch/*/kernel/macros.s; do ... We can also try pinging upstream about this, so that autogenerated headers are not removed on make clean... What do you think?