Re: [RFC PATCH v1 12/40] metag: Build infrastructure
From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-11-09 14:46:30
On Wednesday 31 October 2012, James Hogan wrote:
+ +define archhelp + echo '* vmlinux.bin - Binary kernel image (arch/$(ARCH)/boot/vmlinux.bin)' + @echo ' uImage - Alias to bootable U-Boot image' + @echo ' uImage.bin - Kernel-only image for U-Boot (bin)' + @echo ' uImage.gz - Kernel-only image for U-Boot (gzip)' + @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)' + @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)' + @echo ' uImage.xz - Kernel-only image for U-Boot (xz)' + @echo ' uImage.lzo - Kernel-only image for U-Boot (lzo)' +endef
The uImage format is causing some trouble on ARM because it requires knowing the load address at boot time, so we try to move people towards using just zImage files there. You might want to consider the same. It's probably not necessary to have both lzma and xz formats since they are the same algorithm with different headers afaik.
quoted hunk ↗ jump to hunk
diff --git a/arch/metag/include/asm/Kbuild b/arch/metag/include/asm/Kbuild new file mode 100644 index 0000000..1678d85 --- /dev/null +++ b/arch/metag/include/asm/Kbuild@@ -0,0 +1,59 @@ +include include/asm-generic/Kbuild.asm + +header-y += tbx/ + +header-y += hw_breakpoints.h + +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += bugs.h +generic-y += cputime.h +generic-y += current.h
The header files will have to change now for the UAPI split, see the discussion about the same thing for the ARC architecture. Arnd