summaryrefslogtreecommitdiff
path: root/payloads/external/LinuxBoot/targets
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-03-13 11:22:26 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-07-19 13:54:24 +0000
commit02c08147645d37e8d21f89b62cb7029be7543bd6 (patch)
tree98dc70e780a4a1a01145d58c254ce16d7471e276 /payloads/external/LinuxBoot/targets
parent4e2f95b789d8f3b505f52c42b634401dd5f718a2 (diff)
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>
Diffstat (limited to 'payloads/external/LinuxBoot/targets')
-rw-r--r--payloads/external/LinuxBoot/targets/u-root.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/payloads/external/LinuxBoot/targets/u-root.mk b/payloads/external/LinuxBoot/targets/u-root.mk
index 9b0e5687d7..4c2994c2e3 100644
--- a/payloads/external/LinuxBoot/targets/u-root.mk
+++ b/payloads/external/LinuxBoot/targets/u-root.mk
@@ -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),)