Convert all make rules to be overridable, clean up typos #12867
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Various guides on the internet suggest editing rules/config to enable features. This slightly complicates maintaining a build, because you either have to
git stash
(and hope that when you re-apply a change to the file hasn't caused a conflict) before pulling, or commit your changes and merge or rebase upstream changes. Prior to this these were the only configurable values in the file:SONIC_DPKG_CACHE_METHOD
SONIC_DPKG_CACHE_SOURCE
INCLUDE_KUBERNETES_MASTER
SONIC_ENABLE_IMAGE_SIGNATURE
SONIC_ENABLE_SECUREBOOT_SIGNATURE
PACKAGE_URL_PREFIX
SONIC_VERSION_CONTROL_COMPONENTS
REGISTRY_PORT
REGISTRY_SERVER
ENABLE_ASAN
DEFAULT_CONTAINER_REGISTRY
ENABLE_FIPS_FEATURE
ENABLE_FIPS
SONIC_SLAVE_DOCKER_DRIVER
Why I did it
Since these are build flags, it shouldn't require modifying source-controlled files to build.
How I did it
Switching from variable assignment to optional variable assignment if unset.
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Allow overriding rules/config values with make
A picture of a cute animal (not mandatory but encouraged)
Bartalina the house sheep @ 1-2 days old