The makefile is getting long and increasingly complex. Let's move the snippet part to s390x/snippets/ and sprinkle a couple comments on top. While we're moving things around we can split lib/s390x/sie.h into sie architecture code and sie library code and split the sie assembly in cpu.S into its own file. v2: - Rebased on Marc's makefile patch - Fixed commit messages in patches 1 & 4 - Picked up R-Bs Janosch Frank (4): s390x/Makefile: Split snippet makefile rules into new file s390x/Makefile: Add more comments s390x: Move SIE assembly into new file lib: s390x: Split SIE fw structs from lib structs lib/s390x/{sie.h => asm/sie-arch.h} | 58 +------ lib/s390x/sie.h | 231 +--------------------------- s390x/Makefile | 45 ++---- s390x/{cpu.S => cpu-sie.S} | 59 +------ s390x/cpu.S | 64 -------- s390x/snippets/Makefile | 34 ++++ 6 files changed, 49 insertions(+), 442 deletions(-) copy lib/s390x/{sie.h => asm/sie-arch.h} (81%) copy s390x/{cpu.S => cpu-sie.S} (56%) create mode 100644 s390x/snippets/Makefile -- 2.43.0