payloads/LinuxBoot: Add ARM64 support
Add support for ARCH=ARM64 and introduce CROSS_COMPILE for all architectures. * Always compress kernel Image using xz * Create FIT uImage containing the kernel, initramfs and DTB * Add ARM64 defconfig for all SoCs Change-Id: I9a0cc248283432fb2384956ca55e687d4127398c Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25152 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
committed by
Philipp Deppenwiese
parent
4e2f95b789
commit
02c0814764
@ -52,8 +52,11 @@ checkout: fetch
|
||||
done;,true;) \
|
||||
fi
|
||||
|
||||
$(project_dir)/initramfs.cpio.xz: checkout
|
||||
cd $(uroot_dir); GOARCH=$(CONFIG_LINUXBOOT_ARCH) GOPATH=$(go_path_dir) go build u-root.go
|
||||
$(uroot_dir)/u-root: $(uroot_dir)/u-root.go
|
||||
echo " GO u-root"
|
||||
cd $(uroot_dir); GOPATH=$(go_path_dir) go build u-root.go
|
||||
|
||||
$(project_dir)/initramfs.cpio.xz: checkout $(uroot_dir)/u-root
|
||||
echo " MAKE u-root $(CONFIG_LINUXBOOT_UROOT_VERSION)"
|
||||
ifneq ($(CONFIG_LINUXBOOT_UROOT_COMMANDS),)
|
||||
ifneq ($(CONFIG_LINUXBOOT_UROOT_FILES),)
|
||||
|
Reference in New Issue
Block a user