summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Strachan2018-10-16 17:24:16 -0500
committerAlistair Strachan2018-10-16 19:57:55 -0500
commit848da4f1318cc12619512f4e66c6b281155c5f8a (patch)
tree1cbf7c027d75626768954d55f8079ab41d2697d0 /BoardConfig.mk
parent351e67763631286964f41e000f6bfc95bbd3c49d (diff)
downloaddevice-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.tar.gz
device-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.tar.xz
device-ti-beagle-x15-848da4f1318cc12619512f4e66c6b281155c5f8a.zip
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 += \
59 device/ti/beagle_x15/sepolicy 59 device/ti/beagle_x15/sepolicy
60 60
61BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 61BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
62
63# U-Boot configuration.
64TARGET_UBOOT_ARCH := $(TARGET_ARCH)
65TARGET_UBOOT_SRC := external/u-boot
66TARGET_UBOOT_DEFCONFIG := am57xx_evm_defconfig
67TARGET_UBOOT_CONFIGS += device/ti/beagle_x15/beagle_x15_uboot.conf
68TARGET_UBOOT_MAKE_TARGET := u-boot-img.bin
69TARGET_UBOOT_COPY_TARGETS := u-boot.img MLO