This adds basic support for building a kernel for m68k. Andreas. --- rpm/arch-symbols | 2 +- rpm/group-source-files.pl | 1 + rpm/kernel-binary.spec.in | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rpm/arch-symbols b/rpm/arch-symbols index 223d329..4f110dd 100755 --- a/rpm/arch-symbols +++ b/rpm/arch-symbols @@ -25,7 +25,7 @@ if [ "$1" = "--list" ]; then # List all known architectures - echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc armv6hl armv7hl arm64 + echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc armv6hl armv7hl arm64 m68k exit 0 fi diff --git a/rpm/group-source-files.pl b/rpm/group-source-files.pl index 06e436a..bafe3be 100755 --- a/rpm/group-source-files.pl +++ b/rpm/group-source-files.pl @@ -36,6 +36,7 @@ sub scan m{^\Q$loc\E.*/Makefile} || m{^\Q$loc\E/arch/[^/]+/boot/dts/include/dt-bindings\b} || m{^\Q$loc\E/arch/[^/]+/include\b} || + m{^\Q$loc\E/arch/[^/]+/module\.lds\b} || m{^\Q$loc\E/arch/arm/[^/]+/include/mach\b} || m{^\Q$loc\E/arch/arm/[^/]+/include/plat\b} || m{^\Q$loc\E/include/[^/]+\b} || diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in index 6492ceb..def3042 100644 --- a/rpm/kernel-binary.spec.in +++ b/rpm/kernel-binary.spec.in @@ -509,6 +509,12 @@ add_vmlinux() image=Image cp -p arch/arm64/boot/$image %buildroot/boot/$image-%kernelrelease-%build_flavor %endif +%ifarch m68k + add_vmlinux --compressed + mv %buildroot/boot/vmlinux-%kernelrelease-%build_flavor.gz \ + %buildroot/boot/vmlinuz-%kernelrelease-%build_flavor + image=vmlinuz +%endif # end of build_kdump %endif -- 1.8.5.1 -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org