1config BR2_TARGET_BAREBOX 2 bool "Barebox" 3 help 4 The Barebox bootloader, formerly known as U-Boot v2. 5 6 http://www.barebox.org 7 8if BR2_TARGET_BAREBOX 9choice 10 prompt "version" 11 help 12 Select the specific Barebox version you want to use 13 14config BR2_TARGET_BAREBOX_LATEST_VERSION 15 bool "2021.10.0" 16 17config BR2_TARGET_BAREBOX_CUSTOM_VERSION 18 bool "Custom version" 19 help 20 This option allows to use a specific official versions 21 22config BR2_TARGET_BAREBOX_CUSTOM_TARBALL 23 bool "Custom tarball" 24 25config BR2_TARGET_BAREBOX_CUSTOM_GIT 26 bool "Custom Git repository" 27 28endchoice 29 30config BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE 31 string "Barebox version" 32 depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION 33 34if BR2_TARGET_BAREBOX_CUSTOM_TARBALL 35 36config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION 37 string "URL of custom Barebox tarball" 38 39endif 40 41config BR2_TARGET_BAREBOX_VERSION 42 string 43 default "2021.10.0" if BR2_TARGET_BAREBOX_LATEST_VERSION 44 default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION 45 default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL 46 default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT 47 48config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR 49 string "custom patch dir" 50 help 51 If your board requires custom patches, add the path to the 52 directory containing the patches here. The patches must be 53 named barebox-<version>-<something>.patch. 54 55 Most users may leave this empty 56 57if BR2_TARGET_BAREBOX_CUSTOM_GIT 58 59config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL 60 string "URL of custom Git repository" 61 62config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION 63 string "Custom Git version" 64 65endif 66 67source boot/barebox/barebox/Config.in 68 69menuconfig BR2_TARGET_BAREBOX_AUX 70 bool "Build barebox with an auxiliary config" 71 help 72 Build barebox with an auxiliary configuration. 73 74 Useful for building an SPL (Secondary Program Loader) in 75 addition to the traditional TPL (Tertiary Program Loader), 76 such as the X-Loader or MLO for Texas Instruments 77 processors. 78 79if BR2_TARGET_BAREBOX_AUX 80 81source boot/barebox/barebox-aux/Config.in 82 83endif 84 85endif 86