summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorAlistair Strachan <astrachan@google.com>2018-10-16 15:24:16 -0700
committerAlistair Strachan <astrachan@google.com>2018-10-16 17:57:55 -0700
commit848da4f1318cc12619512f4e66c6b281155c5f8a (patch)
tree1cbf7c027d75626768954d55f8079ab41d2697d0 /BoardConfig.mk
parent351e67763631286964f41e000f6bfc95bbd3c49d (diff)
downloadbeagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.tar.gz
Build the x15 U-Boot binaries from source.
This change builds a config for U-Boot and then builds the MLO and u-boot.img files from the external/u-boot source tree. It uses symlinks to the host toolchain to preserve the Android build system's hermetic requirements. (The recommended configs were derived from the Things configs.) Bug: 110964307 Change-Id: I634c607ca5c07d24d46278aaf8215c70bc2e6aa0 Signed-off-by: Alistair Strachan <astrachan@google.com>
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 3b78403..d07a534 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -59,3 +59,11 @@ BOARD_SEPOLICY_DIRS += \
device/ti/beagle_x15/sepolicy
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
+
+# U-Boot configuration.
+TARGET_UBOOT_ARCH := $(TARGET_ARCH)
+TARGET_UBOOT_SRC := external/u-boot
+TARGET_UBOOT_DEFCONFIG := am57xx_evm_defconfig
+TARGET_UBOOT_CONFIGS += device/ti/beagle_x15/beagle_x15_uboot.conf
+TARGET_UBOOT_MAKE_TARGET := u-boot-img.bin
+TARGET_UBOOT_COPY_TARGETS := u-boot.img MLO