Simplify firmware variant selection #230
No reviewers
Labels
No Label
RFC
RFT
WIP
blocked
bsp
bug
build/scripts/tools
duplicate
feature
fixed
layer3
mantis
more details required
needs changes
node
packages/fff
rejected
security
trivial
upstream
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#231 ci: add woodpecker build pipelines
freifunk-franken/firmware
Reference: freifunk-franken/firmware#230
Loading…
Reference in New Issue
No description provided.
Delete Branch "fbl:buildfix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of tampering with the 'DEFAULT' property of meta packages on
every build in a non-portable way, use the build system as intended and
select packages using an approriate build config ('.config').
This is achived by adding the approriate variant package to the build
config before expanding it using defconfig.
By that, the fff-variant-* packages and FFF_VARIANT environment variable
can be removed. Base packages required in both variants are now included
via fff-base (formerly fff-variant/default).
Besides cleaning up the build process, this change also fixes a recent
issue with build dependencies, as they are evaluated on a per-package
basis instead of per-variant. Due to that, dependencies of all
variants are compiled, regardless of the selected variant. Combined with
a recent build issue of mosquitto (see [1]), the node variant could not
be built from a clean state.
[1] https://github.com/eclipse/mosquitto/issues/2432
Plant noch jemand sich das hier anzusehen? Ansonsten werde ich es im laufe des Tage applien.
Auf meinen staging Branch applied.
Pull request closed