aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index e7b7356..c75fb11 100644
--- a/makefile
+++ b/makefile
@@ -55,10 +55,13 @@ bootloader/.config: state/submodules state/container_img
.PHONY: build_bootloader
build_bootloader: bootloader/.config state/container_img
$(CTRIZE) $(MAKE) -C bootloader
+uboot.env: uboot.txt
+ $(CTRIZE) bootloader/tools/mkenvimage -p 0x00 -s 0x20000 -o $@ $<
# NOTE: MLO MUST be copied first
BOOTLOADER_FILES += bootloader/MLO
BOOTLOADER_FILES += bootloader/u-boot.img
BOOTLOADER_FILES += bootloader/u-boot.dtb
+BOOTLOADER_FILES += uboot.env
$(BOOTLOADER_FILES): build_bootloader
kernel/.config: state/submodules state/container_img