The variables CPU and CPUNAME contain exact the same information and the existence of both leads can just lead to needless errors. CPU is limited to one character leading to obnoxious names like "R" for arm or "6" for Motorola 68000, thus is it the obvious candidate to go an be replaced by CPUNAME.
Skills: code reading, some building
This is my first try, though i had to skip the SPARC64 bits, being CPU=U not defined in configure.in
Created attachment 57629 [details]
First try at EasyHack
Norbert commented on the list:
> The patch does not remove CPU, just replace some of it's use with CPUNAME.
> among other annoying part is the fact that prebuilt moziila filename
> are based on CPU not CPUNAME
> so any such patch need to be synch with a rename of these files... and
> somehow a rename of the existing file in moz/zipped if there are
prolly best to continue discussion there; thanks !
Thomas Collerton committed a patch related to this issue.
It has been pushed to "master":
EasyHack fdo#42783: get rid of CPU define/build system variable
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner SkillScript TopicCleanup )