Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting platform macro settings externally (#2585)
* Allow setting platform macro settings externally By default, rpm installs a series of default platforms based on the CPU architecture names in subdirectories called /usr/lib/platform/<arch>-<os> This is enough for regular Linux distributions. However, some distributions may use more specific platform names that refer to particular computer systems, like SBCs or specific CPU tuning when compiling. If the platform subdirectory does not exist in /usr/lib/platform then rpmbuild does not work. Allow creating such custom platform subdirectory with feeding the necessary data using external variables: RPM_CUSTOM_ARCH, RPM_CUSTOM_ISANAME, RPM_CUSTOM_ISABITS, RPM_CUSTOM_CANONARCH and RPM_CUSTOM_CANONCOLOR Signed-off-by: Zoltán Böszörményi <[email protected]> --------- Signed-off-by: Zoltán Böszörményi <[email protected]> Co-authored-by: Florian Festi <[email protected]>
- Loading branch information