-
Notifications
You must be signed in to change notification settings - Fork 132
Description
Bitbake is complaining about a parsing error. It appears to occur only when a defconfig is included in upper layers.
This is the bitbake output:
Error during parse shell code, the last 5 lines are: | ETA: 0:00:17 bbnote "Final scc/cfg list: $sccs_defconfig $bsp_definition $sccs $KERNEL_FEATURES_FINAL"
Commenting out sections of the recipes while tracing the issue indicates that the problem originates from the linux-rochip.inc file, with this specific line implicated:
cat ${KBUILD_DEFCONFIGS:-$CONFIGS} > ${KBUILD_DEFCONFIG} || true
Bitbake task functions do not support bash-style variable expansion with curly brackets and default values (i.e., ${VAR:-fallback}) or non-standard constructs.
I tested this only on scarthgap branch, but it may happen in other branches.