I would like to know difference between BOOTBRANCH and BOOTBRANCH_BOARD
Which feature would you like to have?
I think that documentation miss description for BOOTBRANCH and BOOTBRANCH_BOARD variables.
I trying to add support for luckfox core3566. I already created image with yocto and trying to apply my progress to armbian but not understand some variables.
Funding
Jira ticket: AR-2026
You're right to be confused. BOOTBRANCH points to the branch/tag/commit to use as git base for u-boot.
BOOTBRANCH is usually defined by family code, before we had extensibility/hooks available, so family code was littered with "if board == xyz then this branch", causing board/family mixups.
BOOTBRANCH_BOARD was introduced as a pre-hooks way to let the board (not the family) set the branch.
Similar was done, I think, for BOOTPATCHDIR?
@rpardini now I more confused.
Before your answer I used BOOTBRANCH in my board.csc file and build framework understands it without problem.
Moreover more than 10 board definition files use BOOTBRANCH variable.
- Have I use
BOOTBRANCH_BOARDinsteadBOOTBRANCHin myboard.csc? - If
BOOTBRANCHvariable prohibited to use in board file maybe it have to be some validations in build steps?