From 7b552bd29992e423755e0306ea115f726854cbf0 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Thu, 25 Aug 2022 20:07:27 +0300 Subject: download/u-boot: Support reading tree and revision from board.cfg Boards may want to specify a board-specific U-Boot revision. At the very least, pseudo-boards for u-boot-libre releases will need to specify their U-Boot versions somehow. Copy the existing mechanism from download/coreboot for specifying build info with board.cfg files. Specify the commit hash for the 'v2021.07' pseudo-board, and 'master' as the default. Signed-off-by: Alper Nebi Yasak --- resources/u-boot/default/board.cfg | 2 ++ resources/u-boot/v2021.07/.gitkeep | 0 resources/u-boot/v2021.07/board.cfg | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 resources/u-boot/default/board.cfg delete mode 100644 resources/u-boot/v2021.07/.gitkeep create mode 100644 resources/u-boot/v2021.07/board.cfg (limited to 'resources/u-boot') diff --git a/resources/u-boot/default/board.cfg b/resources/u-boot/default/board.cfg new file mode 100644 index 00000000..b821b351 --- /dev/null +++ b/resources/u-boot/default/board.cfg @@ -0,0 +1,2 @@ +ubtree="default" +ubrevision="master" diff --git a/resources/u-boot/v2021.07/.gitkeep b/resources/u-boot/v2021.07/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/resources/u-boot/v2021.07/board.cfg b/resources/u-boot/v2021.07/board.cfg new file mode 100644 index 00000000..4bddc10c --- /dev/null +++ b/resources/u-boot/v2021.07/board.cfg @@ -0,0 +1,2 @@ +ubtree="v2021.07" +ubrevision="840658b093976390e9537724f802281c9c8439f5" # v2021.07 -- cgit v1.2.1